ELEC2645 (2018/19) / Mbed 2 deprecated el17aio

Dependencies:   mbed

Revision:
7:ed5870cfb3e0
Parent:
5:bb6edc5b5be3
Child:
8:87a845b8575e
diff -r 8473dacbeb65 -r ed5870cfb3e0 RosenEngine/RosenEngine.h
--- a/RosenEngine/RosenEngine.h	Tue Mar 05 09:57:55 2019 +0000
+++ b/RosenEngine/RosenEngine.h	Tue Mar 05 13:24:15 2019 +0000
@@ -4,6 +4,7 @@
 #include "mbed.h"
 #include "N5110.h"
 #include "Gamepad.h"
+#include "Ship.h"
 #include "Mission1.h"
 
 
@@ -14,7 +15,7 @@
    RosenEngine();
     ~RosenEngine();
     
-    void RosenEngine::init(int ship_width,int ship_speed,int ship_xpos,int ship_ypos);
+    void RosenEngine::init(int ship_width,int ship_height,int ship_speed,int ship_xpos,int ship_ypos);
     void read_input(Gamepad &pad);
     void update(Gamepad &pad);
     void draw(N5110 &lcd);
@@ -25,10 +26,12 @@
     void check_enemy_projectile_collision();   
     
     // Variables
+    /*
     int _ship_speed;
     int _ship_width;
     int _ship_xpos;
     int _ship_ypos;
+    */
     
     float _xjoystick;
     float _yjoystick;