ELEC2645 (2018/19) / Mbed 2 deprecated el17arm

Dependencies:   mbed

Revision:
30:6d6b48fe3679
Parent:
29:d85886364643
Child:
32:5dc769ba4a58
diff -r d85886364643 -r 6d6b48fe3679 Miner/Miner.h
--- a/Miner/Miner.h	Wed Apr 10 00:50:14 2019 +0000
+++ b/Miner/Miner.h	Wed Apr 10 14:29:14 2019 +0000
@@ -5,6 +5,7 @@
 #include "N5110.h"
 #include "Gamepad.h"
 
+
 const int miner_right[24] =   {
         1,1,1,
         1,1,0,
@@ -70,9 +71,11 @@
 
     int _direction;
     int _gravity;
-    int _jump;
+    bool _jump;
     int _y;
     int _x;
+    bool _j_flag;
+    int _j_counter;
     
     enemies _enem;