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: Rocket/Rocket.h
- Revision:
- 6:7b733b2a6cf6
- Parent:
- 3:489437d4ebd7
- Child:
- 7:06c86ec1f19d
diff -r b230e79d36d6 -r 7b733b2a6cf6 Rocket/Rocket.h
--- a/Rocket/Rocket.h Thu Apr 19 17:46:28 2018 +0000
+++ b/Rocket/Rocket.h Fri Apr 20 21:03:05 2018 +0000
@@ -14,13 +14,17 @@
void init();
void draw(N5110 &lcd);
void update(Direction d,float mag, N5110 &lcd);
+ Vector2D get_pos();
+ void add_score();
+ int get_score();
private:
int _x;
int _y;
int _speed;
-
+ Vector2D p;
+ int _score;
};
#endif
\ No newline at end of file