mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-01 09:45:42 +00:00
end condition: change scene only if scene has a player
This commit is contained in:
@@ -20,7 +20,8 @@ namespace BBM
|
||||
{SoundComponent::JUMP, "assets/sounds/click.ogg"}
|
||||
};
|
||||
|
||||
scene->addEntity("Control entity")
|
||||
addMenuControl(*scene);
|
||||
scene->addEntity("Audio ressources")
|
||||
.addComponent<MusicComponent>("assets/musics/music_result.ogg")
|
||||
.addComponent<SoundComponent>(sounds);
|
||||
scene->addEntity("background")
|
||||
|
||||
Reference in New Issue
Block a user