Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Ship/Ship.h
- 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