summaryrefslogtreecommitdiff
path: root/Penguloon/Levels/Map.cs
diff options
context:
space:
mode:
authoraldrikboy <aldrikboy@gmail.com>2017-12-19 17:20:23 +0100
committeraldrikboy <aldrikboy@gmail.com>2017-12-19 17:20:23 +0100
commit12c565cbb7208b44bd7654289bbac2824901f118 (patch)
tree98b5fbcd6712433a790e8ae72424e30223a67c82 /Penguloon/Levels/Map.cs
parent42671ab55f65af3ace94c50263b16898d32ac692 (diff)
ye
Diffstat (limited to 'Penguloon/Levels/Map.cs')
-rw-r--r--Penguloon/Levels/Map.cs36
1 files changed, 36 insertions, 0 deletions
diff --git a/Penguloon/Levels/Map.cs b/Penguloon/Levels/Map.cs
index 05d1669..5248a25 100644
--- a/Penguloon/Levels/Map.cs
+++ b/Penguloon/Levels/Map.cs
@@ -122,6 +122,42 @@ namespace Penguloon.Levels
b.Position = pos; b.TargetPosition = target;
Enemies.Insert(index, b);
}
+ if (type == typeof(YellowBalloon))
+ {
+ var b = new YellowBalloon(this);
+ b.Position = pos; b.TargetPosition = target;
+ Enemies.Insert(index, b);
+ }
+ if (type == typeof(GreenBalloon))
+ {
+ var b = new GreenBalloon(this);
+ b.Position = pos; b.TargetPosition = target;
+ Enemies.Insert(index, b);
+ }
+ if (type == typeof(OrangeBalloon))
+ {
+ var b = new OrangeBalloon(this);
+ b.Position = pos; b.TargetPosition = target;
+ Enemies.Insert(index, b);
+ }
+ if (type == typeof(PurpleBalloon))
+ {
+ var b = new PurpleBalloon(this);
+ b.Position = pos; b.TargetPosition = target;
+ Enemies.Insert(index, b);
+ }
+ if (type == typeof(RainbowBalloon))
+ {
+ var b = new RainbowBalloon(this);
+ b.Position = pos; b.TargetPosition = target;
+ Enemies.Insert(index, b);
+ }
+ if (type == typeof(DarkRainbowBalloon))
+ {
+ var b = new DarkRainbowBalloon(this);
+ b.Position = pos; b.TargetPosition = target;
+ Enemies.Insert(index, b);
+ }
}
}