This commit is contained in:
2025-10-27 18:35:53 +01:00
parent b1dca32a5b
commit 3179a08dac
63 changed files with 686 additions and 693 deletions

View File

@@ -89,7 +89,7 @@ class Game {
void renderRoomName();
// Cambia de habitación
bool changeRoom(const std::string& room_path);
auto changeRoom(const std::string& room_path) -> bool;
// Comprueba el teclado
void checkInput();
@@ -98,7 +98,7 @@ class Game {
void checkPlayerIsOnBorder();
// Comprueba las colisiones del jugador con los enemigos
bool checkPlayerAndEnemies();
auto checkPlayerAndEnemies() -> bool;
// Comprueba las colisiones del jugador con los objetos
void checkPlayerAndItems();
@@ -125,10 +125,10 @@ class Game {
void setScoreBoardColor();
// Comprueba si ha finalizado el juego
bool checkEndGame();
auto checkEndGame() -> bool;
// Obtiene la cantidad total de items que hay en el mapeado del juego
static int getTotalItems();
static auto getTotalItems() -> int;
// Pone el juego en pausa
void togglePause();