El game_text dels items ja son textures generades i precarregades
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
||||
void write(int x, int y, const std::string &text, int kerning = 1, int lenght = -1);
|
||||
|
||||
// Escribe el texto en una textura
|
||||
std::shared_ptr<Texture> writeToTexture(int x, int y, const std::string &text, int kerning = 1);
|
||||
std::shared_ptr<Texture> writeToTexture(const std::string &text, int kerning = 1);
|
||||
|
||||
// Escribe el texto con colores
|
||||
void writeColored(int x, int y, const std::string &text, Color color, int kerning = 1, int lenght = -1);
|
||||
|
||||
Reference in New Issue
Block a user