Yang Zhenye 201199680

Dependencies:   mbed

Revision:
9:a5a82b3d1102
Parent:
7:a69ae964412c
--- a/Rooney/Rooney.h	Thu May 14 18:30:55 2020 +0000
+++ b/Rooney/Rooney.h	Fri May 15 07:27:23 2020 +0000
@@ -17,18 +17,46 @@
   * @brief Destructor @details Non user specified.
   */
 ~player();
-
+  /**
+  * @brief Initialises the Rooney.
+  */
 void init();
+  /**
+  * @brief set the rooney position.
+  */
 void set_palyer_x(float joy_x, int speed);
-//void draw_gate(N5110 &lcd);]
+  /**
+  * @brief get the collision flag.
+  * @param &gamepad @details The gamepad object from Gamepad class.
+  */
 bool collision_flag();
-
+  /**
+  * @brief set the rooney body form.
+  */
 int * get_form(rooneybody body);
+  /**
+  * @brief set the rooney body y.
+  */
 int get_y();
+  /**
+  * @brief set the rooney body x.
+  */
 int get_x();
+  /**
+  * @brief set the rooney speed
+  */
 int get_speed();
+  /**
+  * @brief add the score.
+  */
 void add_score();
+  /**
+  * @brief get the score.
+  */
 int get_score();
+  /**
+  * @draw form.
+  */
 int drawrooney(N5110 &lcd);
 
 private: