Trabajando en la clase screen

This commit is contained in:
2022-08-11 18:39:56 +02:00
parent 09ad78b02e
commit 89a43b3529
8 changed files with 180 additions and 71 deletions

View File

@@ -12,12 +12,9 @@
#define PROG_H
#define WINDOW_CAPTION "Volcano"
#define WINDOW_WIDTH 320
#define WINDOW_HEIGHT 240
#define GAME_WIDTH 320
#define GAME_HEIGHT 240
class Prog
{
private:
@@ -25,8 +22,8 @@ private:
SDL_Renderer *renderer; // El renderizador de la ventana
Asset *asset; // Objeto encargado de gestionar los ficheros de recursos
Screen *screen; // Objeto encargado de dibujar en pantalla
Game *game; // Objeto para la sección del juego
Input *input; // Objeto Input para gestionar las entradas
Game *game; // Objeto para la sección del juego
section_t section; // Sección y subsección actual del programa;
struct options_t *options; // Contiene las opciones del programa