Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: GameObject/GameObject.h
- 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;