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: Levelengine/Levelengine.h
- Revision:
- 31:ed5f7f15a1ed
- Parent:
- 29:d85886364643
--- a/Levelengine/Levelengine.h Wed Apr 10 14:29:14 2019 +0000
+++ b/Levelengine/Levelengine.h Wed Apr 10 16:20:28 2019 +0000
@@ -4,44 +4,7 @@
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
-#include "Miner.h"
-
-const int solid_block[9] = {
-
- 1,1,1,
- 1,0,1,
- 1,1,1,
- };
-
-const int key[12] = {
- 1,1,0,0,
- 1,0,1,1,
- 1,1,0,1,
- };
-
-const int key_collected[12] = {
-
- 0,0,0,0,
- 0,0,0,0,
- 0,0,0,0,
- };
-
-const int spike[9] = {
-
- 1,1,1,
- 0,1,0,
- 1,1,1,
- };
-
-const int door[30] = {
-
- 1,1,1,1,1,
- 1,0,1,0,1,
- 1,1,0,1,1,
- 1,0,1,0,1,
- 1,1,0,1,1,
- 1,0,1,0,1,
-};
+#include "Sprites.h"
struct Key{
bool key[5];
@@ -64,7 +27,7 @@
int _collision;
int _keys;
- Miner _miner;
+ Sprites _sprites;
Direction _d;
Key _k;