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:
- 19:4789cb4ca550
- Parent:
- 18:ff0a53dcb862
- Child:
- 20:78bd235f8caa
--- a/Gameengine.h Mon Apr 01 21:51:08 2019 +0000
+++ b/Gameengine.h Mon Apr 01 23:55:24 2019 +0000
@@ -19,6 +19,7 @@
void game_init();
void draw(N5110 &lcd);
void lose_life(N5110 &lcd);
+ bool game_over();
private:
@@ -27,6 +28,7 @@
int _level_select;
Level1 _l1;
int _lives;
+ Timer t;
};