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:
- 23:1ee8686af747
- Parent:
- 21:7a7a115d910d
- Child:
- 25:7fb1b6fa9137
- Child:
- 26:bce40bf4c9fc
diff -r a259bcbb1233 -r 1ee8686af747 Gameengine/Gameengine.h
--- a/Gameengine/Gameengine.h Wed Apr 03 13:52:15 2019 +0000
+++ b/Gameengine/Gameengine.h Wed Apr 03 15:03:39 2019 +0000
@@ -17,7 +17,7 @@
void read_direction(Gamepad &pad);
void update(N5110 &lcd, Gamepad &pad);
void game_init();
- void draw(N5110 &lcd, Gamepad &pad);
+ void draw(Key _k, N5110 &lcd, Gamepad &pad);
void lose_life(N5110 &lcd);
bool game_over();
void next_level(N5110 &lcd);
@@ -30,6 +30,7 @@
Level1 _l1;
int _lives;
Timer t;
+ Key _k;
};