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: Engine/Engine.h
- Revision:
- 21:6b16ca9834e6
- Parent:
- 20:a359092079b0
- Child:
- 22:0d2ac98a8b48
diff -r a359092079b0 -r 6b16ca9834e6 Engine/Engine.h
--- a/Engine/Engine.h Thu Apr 25 11:34:01 2019 +0000
+++ b/Engine/Engine.h Wed May 01 16:40:35 2019 +0000
@@ -17,11 +17,15 @@
void update(Gamepad &pad);
void draw(N5110 &lcd);
void check_floors_collision();
+ void add_score();
+ void print_score(N5110 &lcd);
private:
Bullet _b;
float _b_pos_x;
float _b_pos_y;
+
+ int _score;
Floors _f;
Floors _f1;