forked from jaildesigner-jailgames/jaildoctors_dilemma
Muerte y reaparición del jugador
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user