Eliminados todos los std:: del código

This commit is contained in:
2023-09-16 12:44:40 +02:00
parent 71be364141
commit 4a2d27dc59
35 changed files with 539 additions and 504 deletions

View File

@@ -23,6 +23,8 @@
#ifndef GAME_H
#define GAME_H
using namespace std;
class Game
{
private:
@@ -50,7 +52,7 @@ private:
JA_Music_t *music; // Musica que suena durante el juego
Uint32 ticks; // Contador de ticks para ajustar la velocidad del programa
Uint32 ticksSpeed; // Velocidad a la que se repiten los bucles del programa
std::string currentRoom; // Fichero de la habitación actual
string currentRoom; // Fichero de la habitación actual
playerSpawn_t spawnPoint; // Lugar de la habitación donde aparece el jugador
JA_Sound_t *deathSound; // Sonido a reproducir cuando muere el jugador
board_t board; // Estructura con los datos del marcador
@@ -81,7 +83,7 @@ private:
void renderRoomName();
// Cambia de habitación
bool changeRoom(std::string file);
bool changeRoom(string file);
// Comprueba el teclado
void checkInput();