Trabajando en el marcador

This commit is contained in:
2022-08-31 22:40:22 +02:00
parent 0087815ced
commit 62e9a2ad2a
7 changed files with 24 additions and 20 deletions

View File

@@ -53,6 +53,7 @@ private:
SDL_Renderer *renderer; // El renderizador de la ventana
SDL_Texture *mapTexture; // Textura para dibujar el mapa de la habitación
JA_Sound itemSound; // Sonido producido al coger un objeto
int *itemsPicked; // Puntero a la cantidad de items recogidos que lleva el juego
// Carga las variables desde un fichero
bool load(std::string file_path);
@@ -71,7 +72,7 @@ private:
public:
// Constructor
Room(std::string file_path, SDL_Renderer *renderer, Asset *asset, ItemTracker *item_tracker);
Room(std::string file_path, SDL_Renderer *renderer, Asset *asset, ItemTracker *item_tracker, int *items);
// Destructor
~Room();