Añadido el objeto background al titulo

This commit is contained in:
2024-06-04 13:50:35 +02:00
parent e4c14b275f
commit 96d19599cd
9 changed files with 50 additions and 11 deletions

View File

@@ -18,6 +18,7 @@
#include "instructions.h"
#include "item.h"
#include "lang.h"
#include "background.h"
#ifndef TITLE_H
#define TITLE_H
@@ -45,6 +46,7 @@ private:
Game *demoGame; // Objeto para lanzar la demo del juego
SDL_Event *eventHandler; // Manejador de eventos
section_t *section; // Indicador para el bucle del titulo
Background *backgroundObj; // Objeto para dibujar el fondo del juego
Texture *dustTexture; // Textura con los graficos del polvo
Texture *coffeeTexture; // Textura con los graficos de la palabra coffee