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: GameEngine/GameEngine.h
- Revision:
- 4:8c6723798227
- Parent:
- 3:489437d4ebd7
- Child:
- 6:7b733b2a6cf6
diff -r 489437d4ebd7 -r 8c6723798227 GameEngine/GameEngine.h
--- a/GameEngine/GameEngine.h Wed Apr 18 18:05:14 2018 +0000
+++ b/GameEngine/GameEngine.h Thu Apr 19 16:54:10 2018 +0000
@@ -5,6 +5,8 @@
#include "N5110.h"
#include "Gamepad.h"
#include "Rocket.h"
+#include "Asteroid.h"
+
class GameEngine
{
@@ -21,6 +23,7 @@
private:
Rocket _rocket;
+ Asteroid _asteroid;
Direction _d;
float _mag;