Muerte y reaparición del jugador

This commit is contained in:
2022-07-11 18:08:48 +02:00
parent 4f6a99f670
commit 8101c33526
9 changed files with 110 additions and 38 deletions

View File

@@ -37,7 +37,9 @@ private:
Uint32 mTicks; // Contador de ticks para ajustar la velocidad del programa
Uint8 mTicksSpeed; // Velocidad a la que se repiten los bucles del programa
section_t mSection; // Seccion actual dentro del juego
std::string mCurrentRoom; // Fichero de la habitación actual
player_t mSpawnPoint; // Lugar de la habitación donde aparece el jugador
// Inicializa las variables
void init();
@@ -51,7 +53,7 @@ private:
void draw();
// Comprueba la entrada y actua
//void checkInput();
// void checkInput();
// Cambia de habitación
bool changeRoom(std::string file);