Skip to content
Snippets Groups Projects
Commit 0c64cb80 authored by Trandinh Thien's avatar Trandinh Thien
Browse files

game over music works

parent a2cffd80
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ namespace Controller
//player2.addUnit(getNewUnit(UnitType.Warrior, new Vector2(16 * 32f, 9 * 32f), player2));
//player2.addUnit(getNewUnit(UnitType.Warrior, new Vector2(16 * 32f, 10 * 32f), player2));
//player2.addUnit(getNewUnit(UnitType.Warrior, new Vector2(17 * 32f, 11 * 32f), player2));
player2.addUnit(getNewUnit(UnitType.Mage, new Vector2(32 * 32f, 22 * 32f), player2));
/////player2.addUnit(getNewUnit(UnitType.Mage, new Vector2(32 * 32f, 22 * 32f), player2));
//player2.addUnit(getNewUnit(UnitType.Mage, new Vector2(17 * 32f, 10 * 32f), player2));
///player2.addUnit(getNewUnit(UnitType.Archer, new Vector2(32 * 32f, 20 * 32f), player2));
//player2.addUnit(getNewUnit(UnitType.Archer, new Vector2(17 * 32f, 12 * 32f), player2));
......@@ -310,6 +310,7 @@ namespace Controller
{
if (menuMusicCounter == 0)
{
Sounds.playMapSong(false);
Sounds.playGameOverSong();
menuMusicCounter++;
}
......@@ -330,6 +331,7 @@ namespace Controller
{
if (menuMusicCounter == 0)
{
Sounds.playMapSong(false);
Sounds.playGameOverSong();
menuMusicCounter++;
}
......
......@@ -65,7 +65,7 @@ namespace View
}
else
{
//TODO
Controller.Game.Instance.getSounds("MapSong").Dispose();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment