Added a system that will handle BGM. Created specific logic for sounds to loop like Petter wants.
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user