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:
- 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