ELEC2645 (2018/19) / Mbed 2 deprecated EL17MCD

Dependencies:   mbed

Revision:
16:a2c945279b79
Parent:
15:fa5282fcd134
Child:
17:cb39d9fa08dc
--- a/Tank/Tank.h	Fri Apr 19 15:58:51 2019 +0000
+++ b/Tank/Tank.h	Wed Apr 24 13:44:12 2019 +0000
@@ -8,10 +8,12 @@
 
 class Tank
 {
+    
 public:
     
     Tank();
     ~Tank();
+    
     //Accessors
     int get_position_x();
     int get_position_y();
@@ -28,17 +30,16 @@
     void generate_hitbox();
     
 private:
-    
-    void _limit_movement();
-    
+        
     int _position_x;
     int _position_y;
     int _left_lim;
     int _right_lim;
     int _move_counter;
     int _speed; 
+    int _health;
     int _hitbox[40];
-    int _health;
+
 };
 
 #endif // TANK_H
\ No newline at end of file