Merge pull request #135 from AnonymusRaccoon/fix_sound_issue

add cache to sound
This commit is contained in:
Tom AUGIER
2021-06-09 15:06:15 +02:00
committed by GitHub
3 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ namespace BBM
{SoundComponent::JUMP, "assets/sounds/jump.wav"},
{SoundComponent::MOVE, "assets/sounds/move.ogg"},
{SoundComponent::BOMB, "assets/sounds/bomb_drop.ogg"},
{SoundComponent::DEATH, "assets/sounds/death.ogg"}
//{SoundComponent::DEATH, "assets/sounds/death.ogg"}
};
scene->addEntity("player")
.addComponent<PositionComponent>()