Retocando la clase menu
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "input.h"
|
||||
#include "screen.h"
|
||||
#include "text.h"
|
||||
#include "menu.h"
|
||||
#include "animatedsprite.h"
|
||||
#include "jail_audio.h"
|
||||
|
||||
@@ -24,6 +25,7 @@ private:
|
||||
Asset *asset; // Objeto con los ficheros de recurso
|
||||
Input *input; // Objeto para gestionar las entradas
|
||||
Text *text; // Objeto para escribir texto en pantalla
|
||||
Menu *menu; // Objeto para gestionar el menu del titulo
|
||||
AnimatedSprite *sprite; // Sprite para dibujar los graficos de la intro
|
||||
JA_Music music; // Musica del titulo del juego
|
||||
section_t section; // Estado del bucle principal para saber si continua o se sale
|
||||
@@ -36,6 +38,9 @@ private:
|
||||
// Dibuja en pantalla
|
||||
void render();
|
||||
|
||||
// Crea el menu
|
||||
void initMenu();
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
Title(SDL_Renderer *renderer, Screen *screen, Asset *asset, Input *input);
|
||||
|
||||
Reference in New Issue
Block a user