tots els singletons tornats a fer a la vieja y gorda usanza

This commit is contained in:
2025-05-30 10:17:41 +02:00
parent 64b6f66044
commit f661da5215
29 changed files with 322 additions and 379 deletions

View File

@@ -281,7 +281,7 @@ void Intro::render()
// Bucle principal
void Intro::run()
{
Audio::get().playMusic("intro.ogg", 0);
Audio::get()->playMusic("intro.ogg", 0);
while (section::name == section::Name::INTRO)
{
checkInput();
@@ -513,7 +513,7 @@ void Intro::updatePostState()
// Finaliza la intro después de 1 segundo
if (ELAPSED_TIME >= 1000)
{
Audio::get().stopMusic();
Audio::get()->stopMusic();
section::name = section::Name::TITLE;
section::options = section::Options::TITLE_1;
}