ELEC2645 (2018/19) / Mbed 2 deprecated EL17MCD

Dependencies:   mbed

Revision:
17:cb39d9fa08dc
Parent:
16:a2c945279b79
Child:
21:44e87d88afe2
--- a/Projectile/Projectile.h	Wed Apr 24 13:44:12 2019 +0000
+++ b/Projectile/Projectile.h	Sat Apr 27 17:43:46 2019 +0000
@@ -11,33 +11,33 @@
     
 public:
     
-    Projectile();
-    ~Projectile();
+  Projectile();
+  ~Projectile();
     
-    // Accessors
-    int get_position_x();
-    int get_position_y();
-    int get_hitbox(int i);
-    // Mutators
-    void set_launch_parameters(int x, int y, float ang, float vel, float grav, float wind);
-    // Other Methods
-    void generate_hitbox();
-    void update_flight();
-    bool check_boundaries();
+  // Accessors
+  int get_position_x();
+  int get_position_y();
+  int get_hitbox(int i);
+  // Mutators
+  void set_launch_parameters(int x, int y, float ang, float vel, 
+                             float grav, float wind);
+  // Other Methods
+  void generate_hitbox();
+  void update_flight();
+  bool check_boundaries();
     
 private:
     
-    int _position_x;
-    int _position_y;
-    int _hitbox[5];
-    int _init_x;
-    int _init_y;
-    float _time;
-    float _lnch_ang;
-    float _init_vel; 
-    float _grav_acc; 
-    float _wind_acc;
-
+  int _position_x;
+  int _position_y;
+  int _hitbox[5];
+  int _init_x;
+  int _init_y;
+  float _time;
+  float _lnch_ang;
+  float _init_vel; 
+  float _grav_acc; 
+  float _wind_acc;
 };
 
 #endif // PROJECTILE_H