ELEC2645 (2018/19) / Mbed 2 deprecated el17dtt

Dependencies:   mbed

Revision:
12:bc9a43f56261
Parent:
11:0e6a221ad8a9
--- a/Car/car.h	Fri May 10 13:58:51 2019 +0000
+++ b/Car/car.h	Fri May 10 14:38:36 2019 +0000
@@ -139,20 +139,20 @@
     
   private:
   
-    int _fuel; // for future development
-    int _health;    // for future development
-    int _direction; // variable to display the turning car
-    int _gear;  // gear of the car [1:3]
+    int _fuel; /**<int for future development */
+    int _health;    /**<int for future development */
+    int _direction; /**<int choice to display the turning car */
+    int _gear;  /**<int the gear between 1 and 3 */
   
-    float _rev; // revs based on the gear
-    float _car_distance; // distance the car has travelled
-    float _speed; // car speed
-    float _car_position;
+    float _rev; /**<float revs based on the gear */
+    float _car_distance; /**<float the distance of the car */
+    float _speed; /**<float car speed */
+    float _car_position;    /**<float car position before parsing */
   
     // pictures to draw car in different direction
-    static int car1[];
-    static int car2[];
-    static int car3[];  
+    static int car1[]; /**<static int car goes straight  */
+    static int car2[]; /**<static int car goes to the right  */
+    static int car3[]; /**<static int car goes to the left */
     
 };