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:
- 14:dc3524d11921
- Parent:
- 12:adf4ec04ced2
- Child:
- 15:2bda80896a84
diff -r 3bf02cb26d6d -r dc3524d11921 Levelengine.h
--- a/Levelengine.h Thu Mar 28 22:32:09 2019 +0000
+++ b/Levelengine.h Fri Mar 29 00:30:03 2019 +0000
@@ -6,6 +6,13 @@
#include "Gamepad.h"
#include "Minerengine.h"
+const int solid_block[9] = {
+ 1,1,1,
+ 1,0,1,
+ 1,1,1,
+
+ };
+
class Levelengine
{
public:
@@ -13,11 +20,13 @@
Levelengine();
~Levelengine();
void central_cavern(N5110 &lcd);
+ void collision_points(N5110 &lcd, Gamepad &pad);
private:
Minerengine miner;
+ int collision;