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.
Diff: Block.cpp
- Revision:
- 4:f1e33a234a74
- Parent:
- 2:891b3618be4f
diff -r b89ead557d59 -r f1e33a234a74 Block.cpp --- a/Block.cpp Fri May 01 15:57:19 2015 +0000 +++ b/Block.cpp Tue May 12 16:21:33 2015 +0000 @@ -19,10 +19,10 @@ void Block :: moveRight(){ - x = (x + 1) % 360; + x = (x + 1); } void Block :: moveLeft(){ - x = (x - 1) % 360; + x = (x - 1); } void Block :: moveIn(){ y--;