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

Dependencies:   mbed

Revision:
6:33fd1797beb4
Parent:
5:158e2951654b
Child:
8:c3cf8d1057bb
--- a/GameObject/GameObject.h	Sun Apr 30 22:51:35 2017 +0000
+++ b/GameObject/GameObject.h	Mon May 01 22:47:46 2017 +0000
@@ -5,7 +5,7 @@
 #include "N5110.h"
 #include "Gamepad.h"
 
-#define OBJECTCOUNT 41
+#define OBJECTCOUNT 51
 
 class GameObject
 {
@@ -15,7 +15,7 @@
     GameObject();
     ~GameObject();
 
-    int type; // 0 - Platform, 1 - Horizontal Spikes, 2 - Vertical Spikes, 3 - Door, 4 - Switch
+    int type; // 0 - Platform, 1 - Horizontal Spikes, 2 - Vertical Spikes, 3 - Door, 4 - Switch, 5 - Uncollected Coin, 6 - Collected Coin
     intVector2D position; // Top-left corner of the cube
     int width;
     int height;
@@ -28,5 +28,4 @@
     bool containsY(int _y);
 
 };
-#endif
-
+#endif
\ No newline at end of file