ELEC2645 (2018/19) / Mbed 2 deprecated el17aio

Dependencies:   mbed

Revision:
39:7824f9080f59
Parent:
38:4571537238ed
Child:
40:90c7a893d513
diff -r 4571537238ed -r 7824f9080f59 RosenEngine/RosenEngine.h
--- a/RosenEngine/RosenEngine.h	Sun May 05 08:50:15 2019 +0000
+++ b/RosenEngine/RosenEngine.h	Mon May 06 16:49:53 2019 +0000
@@ -10,6 +10,7 @@
 #include "Menu.h"
 #include "Enemy.h"
 #include "Health.h"
+#include "Lore.h"
 
 class RosenEngine
 {
@@ -31,6 +32,7 @@
     void check_health();
     float timer(int fps);
     bool dead();
+    void intro(N5110 &lcd);
 
     
     int ship_xpos; 
@@ -55,6 +57,9 @@
     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();
     
     
     // Variables
@@ -63,6 +68,7 @@
     Menu _menu;
     Enemy _enemy;
     Health _health;
+    Lore _lore;
     float _xjoystick;
     float _yjoystick;
     Direction _d;
@@ -73,10 +79,16 @@
     Vector2D _shooter1_pos;
     Vector2D _shooter2_pos;
     Vector2D _shooter3_pos;
+    Vector2D _seeker1_pos;
+    Vector2D _seeker2_pos;
+    Vector2D _seeker3_pos;
     Vector2D _coloc;
     bool _dead;
     int _times_run;
     int _no_shooters;
+    int _no_seekers;
+    bool _intro;
+    float _wait_time;
     
 
 };