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:
- 15:0a55e0ac8421
- Parent:
- 14:a4176da69b49
- Child:
- 17:7acfc8a0c277
diff -r a4176da69b49 -r 0a55e0ac8421 rec/rect.cpp
--- a/rec/rect.cpp Mon Apr 23 22:18:33 2018 +0000
+++ b/rec/rect.cpp Mon Apr 23 22:36:11 2018 +0000
@@ -13,6 +13,7 @@
{
//set the rect move speed
rect_speed = 0.5; // default speed
+ rect_score = 10;
}
void rect::draw(N5110 &lcd)
@@ -55,7 +56,6 @@
void rect::set_pos(Vector2D p)
{
rect_x = p.x;
- //rect_y = p.y;
}