ELEC2645 (2018/19) / Mbed 2 deprecated el17szs

Dependencies:   mbed

Revision:
29:f7a2d2a755ec
Parent:
28:d0b0a64a832d
Child:
30:43aace0fdbdf
--- a/Bat/Bat.h	Tue May 07 17:50:58 2019 +0000
+++ b/Bat/Bat.h	Tue May 07 18:38:54 2019 +0000
@@ -15,7 +15,13 @@
 {
 
 public:
+    /** 
+    * @brief Constructor for the Bat Class
+    */
     Bat();
+    /** 
+    * @brief Deconstructor for the Bat Class
+    */
     ~Bat();
      /** 
     * @brief Initlialises the Bat class
@@ -49,17 +55,13 @@
     
     
 private:
-   
-    // Seperate Gamepad has been used in this class because Gamepad obect
-    //from the main class had issues with the CHECK_EVENT Function. The function was not responsive
-    // and could not be resolved and as a result the only suitable solution was to create another object
-    
-    //integer variable used to check if ball is Hit, the variable is essentially used as a flag
-    // in the cricket method
+
+    /*integer variable used to check if ball is Hit, the variable is essentially used as a flag
+     in the cricket method*/
     int _hitBall;
     
-    //integer variable used to check if the hit is lofted, the variable is essentially used as a flag
-    // in the cricket class
+    /*integer variable used to check if the hit is lofted, the variable is essentially used as a flag
+    in the cricket class */
     int _loft_ball;
     
     //Direction of the ball