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:
- 39:ddca28745388
- Parent:
- 38:55bb9da08a52
diff -r 55bb9da08a52 -r ddca28745388 Gameengine/Gameengine.h
--- a/Gameengine/Gameengine.h Sun Apr 14 15:18:58 2019 +0000
+++ b/Gameengine/Gameengine.h Sun Apr 14 18:26:16 2019 +0000
@@ -28,7 +28,7 @@
void get_miner_pos();
void key_draw(N5110 &lcd,Gamepad &pad);
void blocks(N5110 &lcd);
- bool enemies(N5110 &lcd);
+ void enemies(N5110 &lcd);
private:
@@ -37,8 +37,9 @@
double _x;
double _y;
int _distance;
- int _turn_flag;
+ bool _turn_flag;
int _counter;
+ bool _enem_flag;
Sprites _sprites;
Direction _d;