FINAL VERSION

Dependencies:   mbed

Revision:
91:c01a736fb0d9
Parent:
85:6b21dc88f2fc
Child:
93:18f81996ea89
--- a/Ball/Ball.cpp	Mon May 06 19:24:32 2019 +0000
+++ b/Ball/Ball.cpp	Mon May 06 22:57:04 2019 +0000
@@ -18,7 +18,7 @@
     _y = HEIGHT - _size/2 - 4; // fixed y init position
 
     srand(time(NULL));
-    int direction = rand() % 2; // randomise initial direction. 
+    int direction = rand() % 2; // randomise initial direction.
 
     // 2 directions, both directed upwards (N) from the paddle
     if (direction == 0) {