ELEC2645 (2018/19) / Mbed 2 deprecated el17arm

Dependencies:   mbed

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;