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

@@ -35,7 +35,6 @@ void Player::init()
// Inicializa variables de estado
alive = true;
deathCounter = DEATH_COUNTER;
deathIndex = 0;
statusWalking = PLAYER_STATUS_WALKING_STOP;
statusFiring = PLAYER_STATUS_FIRING_NO;
invulnerable = false;
@@ -534,7 +533,7 @@ void Player::shiftColliders()
// Obtiene el puntero a la textura con los gráficos de la animación de morir
LTexture *Player::getDeadTexture()
{
//return deathTexture;
return deathSprite->getTexture();;
}
// Obtiene el valor de la variable