Publishes some bgm sounds
This commit is contained in:
@@ -11,9 +11,12 @@ bool Systems::GameStateSystem::OnFlagCaptured(const Events::FlagCaptured &event)
|
||||
{
|
||||
m_InGame = false;
|
||||
|
||||
Events::GameOver e;
|
||||
e.Winner = event.Player;
|
||||
EventBroker->Publish(e);
|
||||
Events::GameOver e1;
|
||||
e1.Winner = event.Player;
|
||||
EventBroker->Publish(e1);
|
||||
Events::PlayBGM e2;
|
||||
e2.Resource = "Sounds/BGM/WilliamTellOverture.mp3";
|
||||
EventBroker->Publish(e2);
|
||||
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user