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
+1
View File
@@ -75,6 +75,7 @@ class StageManager : public IStageInfo {
[[nodiscard]] auto getCurrentPower() const -> int { return current_power_; } // Obtiene el poder actual
[[nodiscard]] auto getTotalPower() const -> int { return total_power_; } // Obtiene el poder total acumulado
[[nodiscard]] auto getTotalPowerNeededToCompleteGame() const -> int; // Poder total necesario para completar el juego
[[nodiscard]] auto getPowerNeededToReachStage(size_t target_stage_index) const -> int; // Poder necesario para llegar a la fase X
[[nodiscard]] auto getTotalStages() const -> size_t { return stages_.size(); } // Obtiene el número total de fases
// --- Seguimiento de progreso ---