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:
- 33:023f57d52b1c
- Parent:
- 32:5dc769ba4a58
- Child:
- 34:c5a042973e0c
--- a/Gameengine/Gameengine.h Wed Apr 10 17:19:51 2019 +0000
+++ b/Gameengine/Gameengine.h Wed Apr 10 17:56:13 2019 +0000
@@ -4,7 +4,7 @@
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
-#include "Miner.h"
+#include "Sprites.h"
#include "Level1.h"
@@ -22,7 +22,8 @@
void draw(Key _k, N5110 &lcd, Gamepad &pad);
void lose_life(N5110 &lcd);
bool game_over();
- void next_level(N5110 &lcd);
+ void next_level(N5110 &lcd);
+ bool enemy_death();
private:
@@ -34,7 +35,7 @@
int _turn_flag;
int _counter;
- Miner _miner;
+ Sprites _sprites;
Direction _d;
Level1 _l1;
Timer t;