mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-17 06:29:55 +00:00
add updateMusicStream + musicSystem
This commit is contained in:
@@ -16,7 +16,8 @@ namespace BBM {
|
||||
const auto &controllable = entity.get<ControllableComponent>();
|
||||
auto &sound = entity.get<SoundComponent>();
|
||||
auto &health = entity.get<HealthComponent>();
|
||||
|
||||
|
||||
sound.setVolume(sound.volume);
|
||||
std::map<bool, SoundComponent::soundIndex> soundIndex = {
|
||||
{controllable.bomb, SoundComponent::BOMB},
|
||||
{controllable.jump, SoundComponent::JUMP},
|
||||
|
||||
Reference in New Issue
Block a user