forked from jaildesigner-jailgames/jaildoctors_dilemma
Trabajando en el marcador
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "utils.h"
|
||||
#include "sprite.h"
|
||||
#include "movingsprite.h"
|
||||
#include "animatedsprite.h"
|
||||
#include "text.h"
|
||||
#include "menu.h"
|
||||
#include "input.h"
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "item_tracker.h"
|
||||
#include "player.h"
|
||||
#include "jail_audio.h"
|
||||
#include "scoreboard.h"
|
||||
|
||||
#ifndef GAME_H
|
||||
#define GAME_H
|
||||
@@ -31,6 +32,7 @@ private:
|
||||
Input *input; // Objeto pata gestionar la entrada
|
||||
Text *text; // Objeto para los textos del juego
|
||||
Text *debugText; // Objeto para los textos de debug del juego
|
||||
ScoreBoard *scoreboard; // Objeto encargado de gestionar el marcador
|
||||
int ticks; // Contador de ticks para ajustar la velocidad del programa
|
||||
int ticksSpeed; // Velocidad a la que se repiten los bucles del programa
|
||||
section_t section; // Seccion actual dentro del juego
|
||||
@@ -47,6 +49,9 @@ private:
|
||||
// Pone la información de debug en pantalla
|
||||
void renderDebugInfo();
|
||||
|
||||
// Escribe el nombre de la pantalla
|
||||
void renderRoomName();
|
||||
|
||||
// Cambia de habitación
|
||||
bool changeRoom(std::string file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user