forked from jaildesigner-jailgames/jaildoctors_dilemma
linter
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user