ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Revision:
21:6b16ca9834e6
Parent:
20:a359092079b0
Child:
22:0d2ac98a8b48
diff -r a359092079b0 -r 6b16ca9834e6 Floors/Floors.cpp
--- a/Floors/Floors.cpp	Thu Apr 25 11:34:01 2019 +0000
+++ b/Floors/Floors.cpp	Wed May 01 16:40:35 2019 +0000
@@ -22,7 +22,7 @@
 // when they leave the screen they will re-appear in random x-coordinate so that 10 floors are always on screen
  //rectangle (1-82 & 9 - 48 )
     _doodler_pos_y = doodler_pos_y;
-    if (_position.y > 43 ){ 
+    if (_position.y > 45 ){ 
     _position.y = 9;   
     _position.x = 1 + (rand()% 70);
     place = rand()% 8;
@@ -44,4 +44,4 @@
 void Floors::set_position(Vector2D pos){
     _position.x = pos.x;
     _position.y = pos.y;
-}
\ No newline at end of file
+}