ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18jkeo

Dependencies:   mbed

Revision:
35:517b56b010df
Parent:
27:eb755a345b1f
Child:
36:78efa0e7bd31
diff -r 853f0cf0ce03 -r 517b56b010df Ship/Ship.h
--- a/Ship/Ship.h	Mon May 18 16:43:08 2020 +0000
+++ b/Ship/Ship.h	Mon May 18 19:26:06 2020 +0000
@@ -20,7 +20,7 @@
     ~Ship();
     void init(int height, int width);                                           //initialises ship object, sets private variables
     void render(N5110 &lcd);                                                    //draws ship if alive
-    void update(Direction d, float mag, Gamepad &pad, N5110 &lcd, int counter); //updates the position and shooting of the ship      
+    void update(Direction d, float mag, Gamepad &pad, N5110 &lcd, int counter, int powerup); //updates the position and shooting of the ship      
     //accessors and mutators   
     void set_life(bool life);                                                   //sets the life of the ship
     bool get_life();                                                            //returns the life of the ship