Mensajes de consola opcionales

This commit is contained in:
2022-11-02 09:52:06 +01:00
parent 8232055d22
commit 88f419e963
14 changed files with 96 additions and 268 deletions

View File

@@ -29,7 +29,7 @@ struct animatedSprite_t
};
// Carga la animación desde un fichero
animatedSprite_t loadAnimationFromFile(Texture *texture, std::string filePath);
animatedSprite_t loadAnimationFromFile(Texture *texture, std::string filePath, bool verbose = false);
class AnimatedSprite : public MovingSprite
{
@@ -80,9 +80,6 @@ public:
// Obtiene el indice de la animación a partir del nombre
int getIndex(std::string name);
// Carga la animación desde un fichero
animatedSprite_t loadFromFile(std::string filePath);
// Carga la animación desde un vector
bool loadFromVector(std::vector<std::string> *source);