Yiu Fai Kwok / Mbed 2 deprecated el17yfk

Dependencies:   mbed FXOS8700CQ mbed-rtos

Revision:
19:903d67bb0dea
Parent:
14:abe64fe0b6a5
Child:
26:c60becf3f840
--- a/Game_two/Facebook_files/Facebook.cpp	Sun Apr 21 11:07:43 2019 +0000
+++ b/Game_two/Facebook_files/Facebook.cpp	Sun Apr 21 12:14:59 2019 +0000
@@ -12,9 +12,9 @@
 
 void Facebook::init(int speed)
 {    
-    int position = rand() % 8; // randomise initial direction. 
+    int position = rand() % 8; // randomise initial direction and position. 
 
-    // 4 possibilities. Get random modulo and set velocities accordingly
+    // 8 possibilities. Get random modulo and set velocities and position accordingly
     if (position == 0) {
         _x = -9;
         _y = 12;