Implementado el cambio de habitación

This commit is contained in:
2022-07-03 14:53:18 +02:00
parent 7d0262a30e
commit 0bb7b6441a
6 changed files with 145 additions and 45 deletions

View File

@@ -45,6 +45,18 @@ private:
// Carga los recursos
bool loadMedia();
// Actualiza el juego, las variables, comprueba la entrada, etc.
void update();
// Pinta los objetos en pantalla
void draw();
// Comprueba la entrada
void checkInput();
// Cambia de habitación
bool changeRoom(std::string file);
public:
// Constructor
Game(SDL_Window *window, SDL_Renderer *renderer, Asset *asset, Lang *lang, Input *input);