Added a system that will handle BGM. Created specific logic for sounds to loop like Petter wants.

This commit is contained in:
stiffly
2016-02-24 11:51:06 +01:00
parent 2c18068059
commit f72dea3852
4 changed files with 98 additions and 23 deletions
@@ -0,0 +1,23 @@
#include "../Game/Systems/BackgroundMusicSystem.h"
BackgroundMusicSystem::BackgroundMusicSystem(SystemParams params)
: System(params)
, PureSystem("SoundEmitter")
{
}
BackgroundMusicSystem::~BackgroundMusicSystem()
{
}
void BackgroundMusicSystem::UpdateComponent(EntityWrapper& entity, ComponentWrapper& cEmitter, double dt)
{
}
void BackgroundMusicSystem::mainMenuLoop()
{
}