ELEC2645 (2018/19) / Mbed 2 deprecated el17zl

Dependencies:   mbed

Fork of el17zl by Zhenwen Liao

Revision:
11:f5d0ea7e4b74
Parent:
10:726c1489894e
Child:
13:5930f0e5889d
--- a/PushingEngine/PushingEngine.h	Mon Apr 22 07:39:26 2019 +0000
+++ b/PushingEngine/PushingEngine.h	Sun Apr 28 17:49:27 2019 +0000
@@ -10,9 +10,6 @@
 #include "Menu.h"
 
 
-
-
-
 class PushingEngine
 {
 
@@ -26,7 +23,7 @@
     void update(Gamepad &pad,int barrier_x,int barrier_y);
     void draw(N5110 &lcd,int barrier_x,int barrier_y);
     int set_score();
-    Vector2D print_menu(N5110 &lcd,Gamepad &pad);
+    Vector2D get_menu(N5110 &lcd,Gamepad &pad);
     
 
 private:
@@ -38,6 +35,8 @@
     bool ppl_cover_box(Gamepad &pad);
     void box_cover_cross1_score(Gamepad &pad);
     void box_cover_cross2_score(Gamepad &pad);
+    
+    
 
     Box _b1;
     Box _b2;
@@ -65,19 +64,19 @@
     
     Menu _menu;
     
-        //reading of bottom
+    //reading of bottom
     int _bb;
     int _bx;
     int _by;
     int _ba;
     int _bjoy;
     int _bj;
-    
 
     //parameter for touching 
     int _s; //ppl with b1
     int _r; //ppl with b2
-    int _temp;
+    int _temp; // 
+    
     int _score;
 
 };