Añadida musica al titulo

This commit is contained in:
2022-09-03 17:25:47 +02:00
parent 3c26c98dd5
commit 1571b73c84
6 changed files with 9 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ Game::Game(SDL_Renderer *renderer, Screen *screen, Asset *asset, Input *input)
eventHandler = new SDL_Event();
text = new Text(asset->get("smb2.png"), asset->get("smb2.txt"), renderer);
debugText = new Text(asset->get("debug.png"), asset->get("debug.txt"), renderer);
music = JA_LoadMusic(asset->get("jd.ogg").c_str());
music = JA_LoadMusic(asset->get("game.ogg").c_str());
// Inicializa variables
ticks = 0;