ELEC2645 (2018/19) / Mbed 2 deprecated el17aio

Dependencies:   mbed

Revision:
36:c25417f0d150
Parent:
35:3341f2bd0408
Child:
37:8d8c8cce0bc7
diff -r 3341f2bd0408 -r c25417f0d150 RosenEngine/RosenEngine.h
--- a/RosenEngine/RosenEngine.h	Fri May 03 09:41:53 2019 +0000
+++ b/RosenEngine/RosenEngine.h	Fri May 03 18:56:06 2019 +0000
@@ -27,6 +27,7 @@
     int get_ycursor();
     int get_shipno();
     void ship_select(N5110 &lcd);
+    void check_health();
 
     
     int ship_xpos; 
@@ -49,6 +50,7 @@
     void kestrelw_shooter_collision(Gamepad &pad);
     void imperionw_shooter_collision(Gamepad &pad);
     
+    
     // Variables
     Ship _ship;
     Weapons _weapons;
@@ -66,6 +68,7 @@
     Vector2D _shooter2_pos;
     Vector2D _shooter3_pos;
     Vector2D _coloc;
+    bool _dead;
     
 
 };
@@ -86,14 +89,13 @@
 */
 #endif
 /*
-bool RosenEngine::seeker_ship_collision()
-{
-    // Vector2D ship_pos = _ship.get_pos();
-    Vector2D seeker_pos = _enemy.get_seekerpos();
-    int seeker_xpos = seeker_pos.x, seeker_ypos = seeker_pos.y;
-    bool sscol;
-    sscol = check_collision(seeker_xpos,seeker_ypos,9,6,ship_xpos,ship_ypos,9,6);
-    return sscol;
-   
-}
+changes not commited
+*Fix game playing in background
+*Change seeker damage to 175
+*make seeker health 5
+* implement a viewing system for enemy ships
+* enemy comes from below very fast
+* if you hold a button shields come up in front but not sides
+* 
+*
 */