Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Floors/Floors.cpp
- Revision:
- 21:6b16ca9834e6
- Parent:
- 20:a359092079b0
- Child:
- 22:0d2ac98a8b48
--- 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
+}