ELEC2645 (2018/19) / Mbed 2 deprecated el17aio

Dependencies:   mbed

Revision:
40:90c7a893d513
Parent:
39:7824f9080f59
Child:
41:e1fa36c0492e
--- 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