Mochu Yao explorer game
Dependencies: mbed
Diff: Surface/surface.cpp
- Revision:
- 17:1b4ecc01b79f
- Parent:
- 8:201ef0618b7d
- Child:
- 32:47d98959b4ef
--- a/Surface/surface.cpp Tue Apr 28 12:21:31 2020 +0000 +++ b/Surface/surface.cpp Tue Apr 28 12:50:40 2020 +0000 @@ -52,7 +52,7 @@ if (_line_1.right <= 0) { _line_1.left = 80; _line_1.right = 80;} - _line_1.length = (rand() %15) + 10; } + _line_1.length = (rand() %10) + 10; } void Surface::line_2() { if(_line_2.left > 0) {