retocat el disseny del efecte de powerUp en el jugador

This commit is contained in:
2024-08-03 19:19:20 +02:00
parent ffef64b4fd
commit 4df505d263
7 changed files with 25 additions and 15 deletions

View File

@@ -57,6 +57,7 @@ private:
int coffees; // Indica cuantos cafes lleva acumulados
bool powerUp; // Indica si el jugador tiene activo el modo PowerUp
int powerUpCounter; // Temporizador para el modo PowerUp
int powerUpDespX; // Desplazamiento del sprite de PowerUp respecto al sprite del jugador
bool input; // Indica si puede recibir ordenes de entrada
circle_t collider; // Circulo de colisión del jugador
bool alive; // Indica si el jugador está vivo
@@ -68,7 +69,6 @@ private:
// Monitoriza el estado
void updateInvulnerable();
public:
// Constructor
Player(float x, int y, std::vector<Texture *> texture, std::vector<std::vector<std::string> *> animations);