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: RosenEngine/RosenEngine.h
- Revision:
- 38:4571537238ed
- Parent:
- 37:8d8c8cce0bc7
- Child:
- 39:7824f9080f59
diff -r 8d8c8cce0bc7 -r 4571537238ed RosenEngine/RosenEngine.h --- a/RosenEngine/RosenEngine.h Sat May 04 05:37:33 2019 +0000 +++ b/RosenEngine/RosenEngine.h Sun May 05 08:50:15 2019 +0000 @@ -29,6 +29,8 @@ int get_shipno(); void ship_select(N5110 &lcd); void check_health(); + float timer(int fps); + bool dead(); int ship_xpos; @@ -50,7 +52,9 @@ void imperionw_seeker_collision(Gamepad &pad); void kestrelw_shooter_collision(Gamepad &pad); void imperionw_shooter_collision(Gamepad &pad); + void scaling(float time_elapsed); int rand_no(); + void game_over(N5110 &lcd); // Variables @@ -71,6 +75,8 @@ Vector2D _shooter3_pos; Vector2D _coloc; bool _dead; + int _times_run; + int _no_shooters; };