Implementado el cambio de paleta durante el juego

This commit is contained in:
2022-10-25 21:51:30 +02:00
parent bcb56e17f2
commit dc84ed79d6
31 changed files with 297 additions and 164 deletions

View File

@@ -31,6 +31,7 @@ private:
Texture *texture; // Textura con los graficos
Sprite *sprite; // Sprite para manejar la textura
Text *text; // Objeto para escribir texto en pantalla
options_t *options; // Puntero a las opciones del juego
// Variables
int counter; // Contador
@@ -57,7 +58,7 @@ private:
public:
// Constructor
Title(SDL_Renderer *renderer, Screen *screen, Asset *asset);
Title(SDL_Renderer *renderer, Screen *screen, Asset *asset, options_t *options);
// Destructor
~Title();