James Cummins / Mbed 2 deprecated el17jnc

Dependencies:   mbed

Revision:
29:42651f87522b
Parent:
23:61fa82f76808
Child:
37:de1f584bce71
diff -r cc7a93ebd7e7 -r 42651f87522b Ball/Ball.h
--- a/Ball/Ball.h	Thu Apr 25 16:26:34 2019 +0000
+++ b/Ball/Ball.h	Sat Apr 27 12:50:30 2019 +0000
@@ -23,6 +23,7 @@
     Vector2D get_velocity();
     Vector2D get_position();
     int get_radius();
+    int get_ball_speed();
 //mutator methods
     void set_ball_speed(int ball_speed);    //this is a constant multiplier for the ball velocity in both axes
     void set_velocity(Vector2D vel);    //this is used to set the velocity at one specific instant in the code