aboutsummaryrefslogtreecommitdiff
path: root/Space Invaders/Program.cs
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2017-11-12 19:52:46 +0100
committerJakob Stendahl <jakob.stendahl@outlook.com>2017-11-12 19:52:46 +0100
commit76d19004e770c360feecd7a0f5c9b1c875d44bf1 (patch)
tree384ca77f3c0113d0cb1eb11e609fcdb48778edcc /Space Invaders/Program.cs
parent91f2f03605f8fc2e3555e18826662754e1ee91a0 (diff)
downloadSpace-Invaders-CS-Console-76d19004e770c360feecd7a0f5c9b1c875d44bf1.tar.gz
Space-Invaders-CS-Console-76d19004e770c360feecd7a0f5c9b1c875d44bf1.zip
[a] Moved the CollideCheck into a method on the GameObject class
Diffstat (limited to 'Space Invaders/Program.cs')
-rw-r--r--Space Invaders/Program.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/Space Invaders/Program.cs b/Space Invaders/Program.cs
index bf9751d..769bc0c 100644
--- a/Space Invaders/Program.cs
+++ b/Space Invaders/Program.cs
@@ -37,13 +37,8 @@ namespace SpaceInvaders {
player.yPos = 115;
player.Scale = 1;
GameObjects.Add(player);
-
- // Init a monster
- GameObject monster1 = new Monster();
- GameObjects.Add(monster1);
// Init Obstacles
-
for (int i = 0; i < 6; i++) {
GameObject obstacle = new Obstacle();
player.Parent = this;