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: Level1/Level1.h
- Revision:
- 27:e73dd64ef334
- Parent:
- 26:bce40bf4c9fc
- Child:
- 28:a38070a1cdcf
- Child:
- 31:ed5f7f15a1ed
- Child:
- 32:5dc769ba4a58
--- a/Level1/Level1.h Tue Apr 09 01:36:47 2019 +0000
+++ b/Level1/Level1.h Tue Apr 09 18:46:14 2019 +0000
@@ -5,6 +5,7 @@
#include "N5110.h"
#include "Gamepad.h"
#include "Levelengine.h"
+#include "Miner.h"
class Level1
{
@@ -19,17 +20,13 @@
void keys(N5110 &lcd, Gamepad &pad);
int keys_collected();
bool level1_exit(N5110 &lcd);
- void enemies_right(N5110 &lcd);
- void enemies_left(N5110 &lcd);
- void enemy_init(int x, int y, int d);
private:
-
+
+ Miner _miner;
Levelengine _level;
Key _k;
- double _x;
- double _y;
- int _d;
+
};
#endif
\ No newline at end of file