He tornat a deixar el progres del fondo que fa tope en la ultima fase, no en el final del joc

This commit is contained in:
2025-08-17 08:20:38 +02:00
parent 142603db71
commit b359a73d50
3 changed files with 14 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ Game::Game(Player::Id player_id, int current_stage, bool demo)
pause_manager_(std::make_unique<PauseManager>([this](bool is_paused) { onPauseStateChanged(is_paused); })),
stage_manager_(std::make_unique<StageManager>()),
balloon_manager_(std::make_unique<BalloonManager>(stage_manager_.get())),
background_(std::make_unique<Background>(stage_manager_->getTotalPowerNeededToCompleteGame())),
background_(std::make_unique<Background>(stage_manager_->getPowerNeededToReachStage(stage_manager_->getTotalStages() - 1))),
fade_in_(std::make_unique<Fade>()),
fade_out_(std::make_unique<Fade>()),
tabe_(std::make_unique<Tabe>()),