Optimizados algunos png

This commit is contained in:
2022-10-05 22:37:37 +02:00
parent 02312e1342
commit 2576d62002
17 changed files with 49 additions and 33 deletions

View File

@@ -82,6 +82,7 @@ private:
bool extraHit; // Indica si el jugador tiene un toque extra
Uint8 coffees; // Indica cuantos cafes lleva acumulados
bool powerUp; // Indica si el jugador tiene activo el modo PowerUp
Uint16 powerUpCounter; // Temporizador para el modo PowerUp
bool input; // Indica si puede recibir ordenes de entrada
circle_t collider; // Circulo de colisión del jugador
@@ -98,9 +99,6 @@ private:
void updatePowerUpHeadOffset();
public:
Uint8 deathIndex; // Apaño rapidito. Indice de SmartSprite donde esta ubicado el sprite de morirse
Uint16 powerUpCounter; // Temporizador para el modo PowerUp
// Constructor
Player(float x, int y, SDL_Renderer *renderer, std::vector<LTexture *> texture, std::vector<std::vector<std::string> *> animations);