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:
- 12:4d7f1349d796
- Parent:
- 7:06c86ec1f19d
- Child:
- 15:658f1216ee84
--- a/Rocket/Rocket.h Thu May 03 22:34:03 2018 +0000
+++ b/Rocket/Rocket.h Fri May 04 21:19:34 2018 +0000
@@ -13,10 +13,10 @@
~Rocket();
void init();
void draw(N5110 &lcd);
- void update(Direction d,float mag, N5110 &lcd);
+ void update(Direction d,float mag);
Vector2D get_pos();
- void add_score();
- int get_score();
+ void add_collisions();
+ int get_collisions();
void drawFullHearts(N5110 &lcd);
void drawTwoHearts(N5110 &lcd);
void drawOneHeart(N5110 &lcd);
@@ -27,7 +27,7 @@
int _y;
int _speed;
Vector2D p;
- int _score;
+ int _collision;
};
#endif
\ No newline at end of file