ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18jkeo

Dependencies:   mbed

Revision:
36:78efa0e7bd31
Parent:
35:517b56b010df
Child:
37:90a0671d2ba7
diff -r 517b56b010df -r 78efa0e7bd31 Ship/Ship.h
--- a/Ship/Ship.h	Mon May 18 19:26:06 2020 +0000
+++ b/Ship/Ship.h	Tue May 19 16:24:39 2020 +0000
@@ -33,7 +33,8 @@
     int _width;                                                                  //width of the ship main rectangle
     int _x;                                                                      //x posittion of ship
     int _y;                                                                      //y position of the ship
-    int _speed;                                                                  //speed of the ship in x direction
+    int _speed;  
+    int _powerup;                                                                //speed of the ship in x direction
     bool _life;                                                                  //whether the ship is alive or not
     BulletS _ship_bullet_vector;                                                 //object to create ship bullet vector
 };