summaryrefslogtreecommitdiff
path: root/Penguloon/Levels
diff options
context:
space:
mode:
Diffstat (limited to 'Penguloon/Levels')
-rw-r--r--Penguloon/Levels/LevelBase.cs2
-rw-r--r--Penguloon/Levels/Map.cs6
2 files changed, 3 insertions, 5 deletions
diff --git a/Penguloon/Levels/LevelBase.cs b/Penguloon/Levels/LevelBase.cs
index 013bd94..d2eb1ba 100644
--- a/Penguloon/Levels/LevelBase.cs
+++ b/Penguloon/Levels/LevelBase.cs
@@ -267,6 +267,8 @@ namespace Penguloon.Levels
public void FinishGame()
{
+ SoundManager.PlayGameOverSound();
+
Finished = true;
// upload score here or something
diff --git a/Penguloon/Levels/Map.cs b/Penguloon/Levels/Map.cs
index 7f06cd0..547c0bc 100644
--- a/Penguloon/Levels/Map.cs
+++ b/Penguloon/Levels/Map.cs
@@ -99,10 +99,6 @@ namespace Penguloon.Levels
if (tileTexture != null)
ParentScene.Main.SpriteBatch.Draw(tileTexture,
destinationRectangle: new Rectangle(x * TileWidth, y * TileHeight, TileWidth, TileHeight));
-
- //if (ParentScene.ObjectSeletor.State == Controls.State.Selected)
- // ParentScene.Main.SpriteBatch.Draw(tileTexture,
- // destinationRectangle: new Rectangle(x * TileWidth, y * TileHeight, TileWidth, TileHeight));
}
}
}
@@ -173,7 +169,7 @@ namespace Penguloon.Levels
if(Enemies.Count == 0 && WaveManager.DoneSpawning && WaveManager.RoundActive)
{
WaveManager.RoundActive = false;
- Level.Money += (WaveManager.CurrentWave * 30);
+ Level.Money += (WaveManager.CurrentWave * 15);
}
}