ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18jkeo

Dependencies:   mbed

Revision:
6:5bea67cc96f9
Parent:
5:e5bb95fb308b
Child:
8:86cb9a9f8a73
--- a/Ship/Ship.h	Sun Mar 22 19:06:39 2020 +0000
+++ b/Ship/Ship.h	Mon Mar 23 15:20:59 2020 +0000
@@ -7,10 +7,10 @@
 {
     
 public: 
-    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 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
     int get_height();
     int get_width();
 //    void set_life(int l);
@@ -19,7 +19,7 @@
     int Height;
     int Width;
     int X;
-    int Y; //y value of ship
-    int Speed; //speed of ship
+    int Y;                                           //y value of ship
+    int Speed;                                       //speed of ship
 //    bool Life;
 };