ELEC2645 (2018/19) / Mbed 2 deprecated el17szs

Dependencies:   mbed

Revision:
7:a1a6bff238c1
Parent:
6:3e50f2cf4366
Child:
8:7b7e1a5b8200
Child:
9:a81db6a703b7
--- a/Ball/Ball.h	Thu Apr 18 09:31:52 2019 +0000
+++ b/Ball/Ball.h	Thu Apr 18 13:04:37 2019 +0000
@@ -24,9 +24,11 @@
     Vector2D get_velocity();
     Vector2D get_pos();
     void set_pos(Vector2D p);
-    void start(N5110 &lcd,int checkHit);
+    void start(N5110 &lcd,int checkHit, Direction dir);
     void get_direction(Gamepad &pad);
     void set_field(N5110 &lcd);
+    void update_ball(int checkHit, Direction dir);
+    int bowler_start();
     
 private:
     Gamepad pad;
@@ -45,5 +47,7 @@
     int _size;
     int _x;
     int _y;
+    int _x1;
+    int _y1;
 };
 #endif
\ No newline at end of file