From 12c565cbb7208b44bd7654289bbac2824901f118 Mon Sep 17 00:00:00 2001 From: aldrikboy Date: Tue, 19 Dec 2017 17:20:23 +0100 Subject: ye --- Penguloon/Levels/Map.cs | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'Penguloon/Levels/Map.cs') 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); + } } } -- cgit v1.2.3-70-g09d2