corregit Game::updateGameStateShowingGetReadyMessage()
This commit is contained in:
@@ -1680,13 +1680,7 @@ void Game::updateGameStateEnteringPlayer() {
|
||||
|
||||
// Actualiza las variables durante dicho estado
|
||||
void Game::updateGameStateShowingGetReadyMessage() {
|
||||
balloon_manager_->update();
|
||||
updatePathSprites();
|
||||
updatePlayers();
|
||||
updateBullets();
|
||||
updateScoreboard();
|
||||
updateBackground();
|
||||
freePathSprites();
|
||||
updateGameStatePlaying();
|
||||
if (path_sprites_.empty()) {
|
||||
setState(GameState::PLAYING);
|
||||
}
|
||||
@@ -1721,7 +1715,6 @@ void Game::updateGameStatePlaying() {
|
||||
checkAndUpdateBalloonSpeed();
|
||||
checkState();
|
||||
cleanVectors();
|
||||
// playMusic();
|
||||
}
|
||||
|
||||
// Vacía los vectores de elementos deshabilitados
|
||||
|
||||
Reference in New Issue
Block a user