ELEC2645 (2018/19) / Mbed 2 deprecated el17aio

Dependencies:   mbed

Revision:
25:faba9eb44514
Parent:
21:628fb703188f
Child:
26:a53d41adf40b
--- a/RosenEngine/RosenEngine.h	Sun Apr 14 18:11:32 2019 +0000
+++ b/RosenEngine/RosenEngine.h	Thu Apr 18 06:53:52 2019 +0000
@@ -30,8 +30,8 @@
     int ship_xpos; 
     int ship_ypos; 
     int ship_width;
-    
-    
+    int ship_height;
+    //*** note: add ship width and ship heirgth in place of 6 and 9 to generalize arrays after they are finished
     
 private:
     void check_ship_projectile_collision();
@@ -49,7 +49,11 @@
     Direction _d;
     int _ycursor;
     int _shipno;
+    
 
 };
-
+/************STUFF TO FIX******************************
+it seems that the weapons function and the enemy function thinks that the ship is locked to the top of the screen at 0,0. so while the ship can move
+the seeker does not follow the ship and the weapon firing sprites are drawn wrongly
+*/
 #endif
\ No newline at end of file