diff options
Diffstat (limited to 'Penguloon/Levels/Map.cs')
| -rw-r--r-- | Penguloon/Levels/Map.cs | 36 |
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); + } } } |
