animacions noves de recuperació per als jugadors

This commit is contained in:
2025-08-15 06:38:52 +02:00
parent 3964503f1c
commit a983269080
6 changed files with 18 additions and 19 deletions

View File

@@ -181,7 +181,7 @@ void Player::move() {
case State::WAITING:
handleWaitingMovement();
break;
case State::THANK_YOU:
case State::RECOVER:
handleThankYouMovement();
break;
default:
@@ -475,8 +475,8 @@ void Player::setAnimation() {
player_sprite_->setFlip(flipMode);
break;
}
case State::THANK_YOU:
player_sprite_->setCurrentAnimation("thank_you");
case State::RECOVER:
player_sprite_->setCurrentAnimation("recover");
break;
case State::WAITING:
case State::GAME_OVER:
@@ -640,7 +640,7 @@ void Player::setPlayingState(State state) {
playing_state_ = state;
switch (playing_state_) {
case State::THANK_YOU: {
case State::RECOVER: {
playSound("voice_thankyou.wav");
break;
}