Yiu Fai Kwok / Mbed 2 deprecated el17yfk

Dependencies:   mbed FXOS8700CQ mbed-rtos

Revision:
26:c60becf3f840
Parent:
19:903d67bb0dea
--- a/Game_two/Facebook_files/Facebook.cpp	Mon Apr 29 20:59:49 2019 +0000
+++ b/Game_two/Facebook_files/Facebook.cpp	Tue Apr 30 09:40:35 2019 +0000
@@ -16,42 +16,42 @@
 
     // 8 possibilities. Get random modulo and set velocities and position accordingly
     if (position == 0) {
-        _x = -9;
+        _x = -12;
         _y = 12;
         _velocity.x = speed * 2;
         _velocity.y = speed;
     } else if (position == 1) {
         _x = 20;
-        _y = -9;
+        _y = -12;
         _velocity.x = speed * 2;
         _velocity.y = speed *2;
     } else if (position == 2) {
         _x = 60;
-        _y = -9;
+        _y = -12;
         _velocity.x = -speed * 2;
         _velocity.y = speed *2;
     } else if (position == 3) {
-        _x = 83;
+        _x = 84;
         _y = 14;
         _velocity.x = -speed * 3;
         _velocity.y = speed;
     } else if (position == 4) {
-        _x = 83;
+        _x = 84;
         _y = 35;
         _velocity.x = -speed * 3;
         _velocity.y = -speed *2;
     } else if (position == 5) {
         _x = 60;
-        _y = 47;
+        _y = 48;
         _velocity.x = -speed * 2;
         _velocity.y = -speed *2;
     } else if (position == 6) {
         _x = 20;
-        _y = 47;
+        _y = 48;
         _velocity.x = speed * 2;
         _velocity.y = -speed *2;
     } else if (position == 7) {
-        _x = -9;
+        _x = -12;
         _y = 30;
         _velocity.x = speed * 3;
         _velocity.y = -speed *2;