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.
Diff: Game1/Game1.h
- Revision:
- 0:0aea7b9ba421
- Child:
- 4:bf257e628311
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Game1/Game1.h Sun May 05 16:27:50 2019 +0000
@@ -0,0 +1,30 @@
+#ifndef GAME1_H
+#define GAME1_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Wall.h"
+#include "Copter.h"
+
+class Game1
+{
+public:
+ Game1();
+ ~Game1();
+ void init();
+ int draw(N5110 &lcd, Gamepad &pad);
+ int get_score();
+
+private:
+
+ int _m;
+ int _s;
+ int _a;
+ int _b;
+ int _c;
+ Copter _Copter;
+ Wall _Wall;
+};
+
+#endif