FINAL VERSION

Dependencies:   mbed

Revision:
93:18f81996ea89
Parent:
91:c01a736fb0d9
Child:
136:04a2724f90cf
--- a/Ball/Ball.cpp	Mon May 06 23:03:22 2019 +0000
+++ b/Ball/Ball.cpp	Mon May 06 23:31:30 2019 +0000
@@ -15,7 +15,7 @@
     _size = size; // size of the ball
 
     _x = x;   // init position of the ball will be at the centre of the paddle
-    _y = HEIGHT - _size/2 - 4; // fixed y init position
+    _y = HEIGHT - _size/2 - 3; // fixed y init position, just above the paddle
 
     srand(time(NULL));
     int direction = rand() % 2; // randomise initial direction.