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.h
- Revision:
- 15:2bda80896a84
- Parent:
- 14:dc3524d11921
- Child:
- 18:ff0a53dcb862
--- a/Gameengine.h Fri Mar 29 00:30:03 2019 +0000
+++ b/Gameengine.h Fri Mar 29 19:03:10 2019 +0000
@@ -14,12 +14,17 @@
Gameengine();
~Gameengine();
- void collision();
+ void read_direction(Gamepad &pad);
+ void update(N5110 &lcd, Gamepad &pad);
+ void game_init();
+ void draw(N5110 &lcd);
private:
- Levelengine level;
-
+ Levelengine _level;
+ Minerengine _miner;
+ Direction _d;
+ int _level_select;
};