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:
- 40:90c7a893d513
- Parent:
- 39:7824f9080f59
- Child:
- 41:e1fa36c0492e
diff -r 7824f9080f59 -r 90c7a893d513 RosenEngine/RosenEngine.h --- a/RosenEngine/RosenEngine.h Mon May 06 16:49:53 2019 +0000 +++ b/RosenEngine/RosenEngine.h Tue May 07 10:01:34 2019 +0000 @@ -33,6 +33,7 @@ float timer(int fps); bool dead(); void intro(N5110 &lcd); + Vector2D get_enemynum(); int ship_xpos; @@ -54,12 +55,16 @@ void imperionw_seeker_collision(Gamepad &pad); void kestrelw_shooter_collision(Gamepad &pad); void imperionw_shooter_collision(Gamepad &pad); + void orionw_collision(Gamepad &pad); void scaling(float time_elapsed); int rand_no(); void game_over(N5110 &lcd); void disp_points(N5110 &lcd); void check_se_health(); void check_sh_health(); + int range(int x1, int y1, float x2, float y2); + Vector2D find_closest1(); + Vector2D find_closest2(int index); // Variables