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

@@ -34,6 +34,7 @@ private:
SDL_Texture *coverTexture; // Textura para cubrir el texto
Texture *texture; // Textura para el sprite de brillo
AnimatedSprite *sprite; // Sprite para el brillo del corazón
options_t *options; // Puntero a las opciones del juego
// Variables
int counter; // Contador
@@ -61,7 +62,7 @@ private:
public:
// Constructor
Credits(SDL_Renderer *renderer, Screen *screen, Asset *asset);
Credits(SDL_Renderer *renderer, Screen *screen, Asset *asset, options_t *options);
// Destructor
~Credits();