fix sound on click

This commit is contained in:
arthur.jamet
2021-06-17 09:47:36 +02:00
parent 5a948bca46
commit a8f5cb85a5
10 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ namespace BBM
{SoundComponent::JUMP, "assets/sounds/click.ogg"}
};
addMenuControl(*scene);
addMenuControl(*scene, sounds);
scene->addEntity("background")
.addComponent<PositionComponent>()
.addComponent<Drawable2DComponent, RAY::Texture>("assets/plain_menu_background.png");