fix: ja torna a funcionar el cicle de música per les diferents seccions

This commit is contained in:
2024-08-14 08:38:19 +02:00
parent a5a3bb23da
commit 45ed1106cb
7 changed files with 35 additions and 21 deletions

View File

@@ -44,6 +44,7 @@ private:
Text *text; // Objeto para escribir texto
Tiledbg *tiledbg; // Objeto para dibujar el mosaico animado de fondo
Fade *fade; // Objeto para renderizar fades
JA_Music_t *music; // Musica de fondo
section_t *section; // Estado del bucle principal para saber si continua o se sale
param_t *param; // Puntero con todos los parametros del programa
@@ -85,7 +86,7 @@ private:
public:
// Constructor
Instructions(Screen *screen, Asset *asset, Input *input, Lang *lang, param_t *param, section_t *section);
Instructions(Screen *screen, Asset *asset, Input *input, Lang *lang, param_t *param, section_t *section, JA_Music_t *music);
// Destructor
~Instructions();