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: GameEngine/engine.cpp
- Revision:
- 12:bc9a43f56261
- Parent:
- 11:0e6a221ad8a9
--- a/GameEngine/engine.cpp Fri May 10 13:58:51 2019 +0000 +++ b/GameEngine/engine.cpp Fri May 10 14:38:36 2019 +0000 @@ -38,10 +38,19 @@ addSegment(1.0f, 600.0f); addSegment(-1.0f, 600.0f); addSegment(-1.0f, 600.0f); + addSegment(1.0f, 140.0f); + addSegment(-1.0f, 150.0f); addSegment(1.0f, 600.0f); addSegment(-1.0f, 600.0f); - addSegment(1.0f, 600.0f); + addSegment(1.0f, 200.0f); + addSegment(-1.0f, 600.0f); + addSegment(0.0f, 500.0f); addSegment(-1.0f, 600.0f); + addSegment(1.0f, 200.0f); + addSegment(1.0f, 140.0f); + addSegment(-1.0f, 50.0f); + addSegment(1.0f, 140.0f); + addSegment(-1.0f, 150.0f); addSegment(0.0f, 700.0f); // find how long is the track