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:
- 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
};