Publishes some bgm sounds

This commit is contained in:
Stiffly
2014-06-05 03:14:45 +02:00
parent 76a9081d4b
commit 09971b2d77
6 changed files with 28 additions and 12 deletions
+6 -3
View File
@@ -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;
}