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: GameEngine/GameEngine.h
- Revision:
- 6:7b733b2a6cf6
- Parent:
- 4:8c6723798227
- Child:
- 7:06c86ec1f19d
--- a/GameEngine/GameEngine.h Thu Apr 19 17:46:28 2018 +0000 +++ b/GameEngine/GameEngine.h Fri Apr 20 21:03:05 2018 +0000 @@ -19,6 +19,7 @@ void read_input(Gamepad &g_pad); void draw(N5110 &lcd); void update(Gamepad &pad, N5110 &lcd); + void print_scores(N5110 &lcd); private: @@ -26,7 +27,8 @@ Asteroid _asteroid; Direction _d; float _mag; - + void check_goal(Gamepad &pad); + int score; }; #endif