Afegida animacioneta pa quan continues

This commit is contained in:
2025-08-14 12:55:29 +02:00
parent a388005968
commit ca6edcccc0
4 changed files with 28 additions and 3 deletions

View File

@@ -1475,7 +1475,7 @@ void Game::handleFireInputs(const std::shared_ptr<Player> &player, bool autofire
// Maneja la continuación del jugador cuando no está jugando, permitiendo que continúe si se pulsa el botón de inicio.
void Game::handlePlayerContinueInput(const std::shared_ptr<Player> &player) {
if (input_->checkAction(Input::Action::START, Input::DO_NOT_ALLOW_REPEAT, player->getUsesKeyboard(), player->getGamepad())) {
player->setPlayingState(Player::State::RESPAWNING);
player->setPlayingState(Player::State::THANK_YOU);
player->addCredit();
sendPlayerToTheFront(player);
// Crea letrero de THANK_YOU