ELEC2645 (2018/19) / Mbed 2 deprecated el17szs

Dependencies:   mbed

Revision:
20:9d21599fe350
Parent:
18:a260ce8db9e7
Child:
21:a0904159e183
--- a/Bat/Bat.h	Sat Apr 27 18:16:59 2019 +0000
+++ b/Bat/Bat.h	Tue Apr 30 10:27:23 2019 +0000
@@ -22,7 +22,7 @@
     int get_hitBall();
     void reset();
     int get_loft_ball();
-    void first_menu(N5110 &menu_lcd);
+    void first_menu(N5110 &menu_lcd,Gamepad &pad);
     void second_menu(N5110 &menu_lcd);
     void game_over(string message);
     void game_over_menu(N5110 &menu_lcd,int option);
@@ -42,5 +42,6 @@
     int _size;
     int _x;
     int _y;
+    bool _button_pressed;
 };
 #endif
\ No newline at end of file