ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18jkeo

Dependencies:   mbed

Revision:
20:0b6f1cfc5be6
Parent:
8:86cb9a9f8a73
Child:
21:970807533b10
--- a/Ship/Ship.h	Fri May 01 14:46:10 2020 +0000
+++ b/Ship/Ship.h	Fri May 01 19:41:24 2020 +0000
@@ -17,7 +17,7 @@
     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(bool life);
     
 private:
     int Height;
@@ -25,7 +25,7 @@
     int X;
     int Y;                                           //y value of ship
     int Speed;                                       //speed of ship
-//    bool Life;
+    bool Life;
 };
 
 #endif
\ No newline at end of file