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

Dependencies:   mbed

Revision:
8:c3cf8d1057bb
Parent:
6:33fd1797beb4
Child:
12:0a5758356381
--- a/GameObject/GameObject.h	Tue May 02 00:20:44 2017 +0000
+++ b/GameObject/GameObject.h	Wed May 03 14:25:55 2017 +0000
@@ -6,6 +6,7 @@
 #include "Gamepad.h"
 
 #define OBJECTCOUNT 51
+#define MENUOBJECTCOUNT 10
 
 class GameObject
 {
@@ -15,7 +16,7 @@
     GameObject();
     ~GameObject();
 
-    int type; // 0 - Platform, 1 - Horizontal Spikes, 2 - Vertical Spikes, 3 - Door, 4 - Switch, 5 - Uncollected Coin, 6 - Collected Coin
+    int type; // 0 - Platform, 1 - Horizontal Spikes, 2 - Vertical Spikes, 3 - Door, 4 - Switch, 5 - Uncollected Coin, 6 - Collected Coin, 7 - Menu Box
     intVector2D position; // Top-left corner of the cube
     int width;
     int height;