ELEC2645 (2016/17) / Mbed 2 deprecated 2645_Project_el15as

Dependencies:   mbed

Revision:
5:158e2951654b
Parent:
4:1f7f32f3e017
Child:
6:33fd1797beb4
--- a/GameObject/GameObject.h	Mon Apr 24 22:32:40 2017 +0000
+++ b/GameObject/GameObject.h	Sun Apr 30 22:51:35 2017 +0000
@@ -5,19 +5,18 @@
 #include "N5110.h"
 #include "Gamepad.h"
 
-
+#define OBJECTCOUNT 41
 
 class GameObject
 {
-    #define OBJECTCOUNT 37
 
 public:
 
     GameObject();
     ~GameObject();
 
-    int type; // 0 - Platform, 1 - Horizontal Spikes, 2 - Vertical Spikes
-    intVector2D position; // top left corner
+    int type; // 0 - Platform, 1 - Horizontal Spikes, 2 - Vertical Spikes, 3 - Door, 4 - Switch
+    intVector2D position; // Top-left corner of the cube
     int width;
     int height;