claude: arreglos d'estil

This commit is contained in:
2025-08-16 19:48:32 +02:00
parent 1ced698093
commit ada5025c65
62 changed files with 903 additions and 1102 deletions

View File

@@ -33,29 +33,29 @@ namespace Difficulty {
enum class Code;
} // namespace Difficulty
// Clase Game
// --- Clase Game: gestor principal del juego ---
class Game {
public:
// --- Constantes ---
static constexpr bool DEMO_OFF = false;
static constexpr bool DEMO_ON = true;
static constexpr bool DEMO_OFF = false; // Modo demo desactivado
static constexpr bool DEMO_ON = true; // Modo demo activado
// --- Constructor y destructor ---
Game(Player::Id player_id, int current_stage, bool demo);
~Game();
Game(Player::Id player_id, int current_stage, bool demo); // Constructor principal
~Game(); // Destructor
// --- Bucle principal ---
void run();
void run(); // Ejecuta el bucle principal del juego
private:
// --- Tipos internos ---
// --- Enums ---
enum class State {
FADE_IN,
ENTERING_PLAYER,
SHOWING_GET_READY_MESSAGE,
PLAYING,
COMPLETED,
GAME_OVER,
FADE_IN, // Transición de entrada
ENTERING_PLAYER, // Jugador entrando
SHOWING_GET_READY_MESSAGE, // Mostrando mensaje de preparado
PLAYING, // Jugando
COMPLETED, // Juego completado
GAME_OVER, // Fin del juego
};
// --- Constantes internas ---