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: rec/rect.cpp
- Revision:
- 17:7acfc8a0c277
- Parent:
- 15:0a55e0ac8421
- Child:
- 19:362ad1cd6d4a
diff -r 75122d14153c -r 7acfc8a0c277 rec/rect.cpp
--- a/rec/rect.cpp Mon Apr 23 23:06:13 2018 +0000
+++ b/rec/rect.cpp Tue Apr 24 19:24:03 2018 +0000
@@ -11,9 +11,7 @@
}
void rect::init(int x,int y)
{
- //set the rect move speed
- rect_speed = 0.5; // default speed
- rect_score = 10;
+ rect_speed = 1; // default speed
}
void rect::draw(N5110 &lcd)