ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18jkeo

Dependencies:   mbed

Revision:
5:e5bb95fb308b
Parent:
4:18a1fc4c38e0
Child:
6:5bea67cc96f9
--- a/Ship/Ship.h	Sun Mar 22 18:51:00 2020 +0000
+++ b/Ship/Ship.h	Sun Mar 22 19:06:39 2020 +0000
@@ -10,10 +10,10 @@
     void init(int y, int height, int width); //dimensions of the ship without shooter, y position is bottom of the screen
     void draw(N5110 &lcd); //Draws basic rectangle ship
     Vector2D get_position(); //Returns position of ship
-    void update(Direction d,float mag); //Interface between joystick and ship control
+    void update(Direction d, float mag); //Interface between joystick and ship control
     int get_height();
     int get_width();
-    void set_life(int l);
+//    void set_life(int l);
     
 private:
     int Height;
@@ -21,5 +21,5 @@
     int X;
     int Y; //y value of ship
     int Speed; //speed of ship
-    bool Life;
+//    bool Life;
 };