ELEC2645 (2018/19) / Mbed 2 deprecated el17szs

Dependencies:   mbed

Revision:
14:122eaa3b7a50
Parent:
13:924891519a95
Child:
15:81a3aaf52647
--- a/Ball/Ball.h	Tue Apr 23 14:35:39 2019 +0000
+++ b/Ball/Ball.h	Tue Apr 23 20:57:15 2019 +0000
@@ -27,9 +27,7 @@
     void get_direction(Gamepad &pad);
 
     //void update_ball(int checkHit, Direction dir);
-    void update_ball_x(int expected_x);
-    void update_ball_y(int expected_y);
-    
+    int update_ball(int expected_x,int expected_y);
     int bowler_start();
     
 private: