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.h
- Revision:
- 20:78bd235f8caa
- Parent:
- 18:ff0a53dcb862
diff -r 4789cb4ca550 -r 78bd235f8caa Levelengine.h
--- a/Levelengine.h Mon Apr 01 23:55:24 2019 +0000
+++ b/Levelengine.h Tue Apr 02 23:40:28 2019 +0000
@@ -34,6 +34,16 @@
};
+
+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,
+};
class Levelengine
@@ -58,6 +68,8 @@
int spike3(int x, int y, N5110 &lcd);
int spike4(int x, int y, N5110 &lcd);
+ bool exit(int x, int y, N5110 &lcd);
+
private: