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.h
- Revision:
- 24:14489d259ffb
- Parent:
- 19:362ad1cd6d4a
- Child:
- 25:1d91ab97d86a
--- a/rec/rect.h Mon Apr 30 01:14:21 2018 +0000 +++ b/rec/rect.h Mon Apr 30 16:40:32 2018 +0000 @@ -9,11 +9,12 @@ public: rect(); ~rect(); - void init(int x,int y); + void init(); void draw(N5110 &lcd); void update(Direction d,float mag); void add_score(); void minus_score(); + void init_score(); int get_score(); Vector2D get_pos();