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:
- 5:e5bb95fb308b
- Parent:
- 4:18a1fc4c38e0
- Child:
- 6:5bea67cc96f9
--- a/Ship/Ship.h Sun Mar 22 18:51:00 2020 +0000
+++ b/Ship/Ship.h Sun Mar 22 19:06:39 2020 +0000
@@ -10,10 +10,10 @@
void init(int y, int height, int width); //dimensions of the ship without shooter, y position is bottom of the screen
void draw(N5110 &lcd); //Draws basic rectangle ship
Vector2D get_position(); //Returns position of ship
- void update(Direction d,float mag); //Interface between joystick and ship control
+ 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(int l);
private:
int Height;
@@ -21,5 +21,5 @@
int X;
int Y; //y value of ship
int Speed; //speed of ship
- bool Life;
+// bool Life;
};