ELEC2645 (2018/19) / Mbed 2 deprecated el17zl

Dependencies:   mbed

Fork of el17zl by Zhenwen Liao

Revision:
9:1fa7f087051e
Parent:
8:83891ea9a5d9
Child:
10:726c1489894e
--- a/PushingEngine/PushingEngine.h	Mon Apr 15 06:55:01 2019 +0000
+++ b/PushingEngine/PushingEngine.h	Thu Apr 18 16:10:42 2019 +0000
@@ -11,6 +11,7 @@
 
 
 
+
 class PushingEngine
 {
 
@@ -23,6 +24,7 @@
     void read_input(Gamepad &pad);
     void update(Gamepad &pad,int barrier_x,int barrier_y);
     void draw(N5110 &lcd,int barrier_x,int barrier_y);
+    int set_score();
     
 
 private:
@@ -34,8 +36,6 @@
     bool ppl_cover_box(Gamepad &pad);
     void box_cover_cross1_score(Gamepad &pad);
     void box_cover_cross2_score(Gamepad &pad);
-    int set_score();
-    
 
     Box _b1;
     Box _b2;