Game codes for Pokemon Academy Yiu Fai Kwok - 201198802 I have read the University Regulations on Plagiarism and state that the work covered by this declaration is my own and does not contain any unacknowledged work from other sources.

Dependencies:   mbed FXOS8700CQ mbed-rtos

Revision:
17:5d8ff39a0e49
Parent:
16:4e49f5cb972e
Child:
21:704d938acf5d
--- a/Game_one/Coin_files/Coin.h	Sat Apr 20 15:20:43 2019 +0000
+++ b/Game_one/Coin_files/Coin.h	Sun Apr 21 11:02:28 2019 +0000
@@ -22,7 +22,7 @@
     
     /**
      * @brief Initialize the class parameters
-     * @param speed
+     * @param speed (int)
      * @details Initialize the coin's position and speed
      */
     void init(int speed);
@@ -42,26 +42,29 @@
     // accessors and mutators
     /**
      * @brief Set the speed - coin in Game 1
-     * @param speed
+     * @param speed (int)
      * @details Set the speed of the coin according to the level of difficulty determined by year
      */
     void set_velocity(int speed);
     
     /**
      * @brief Get the speed
+     * @return the value of speed (int)
      * @details Return the speed of the coin
      */
     int get_velocity();
     
     /**
      * @brief Get the position
+     * @return The current position (Vector2D)
      * @details Return the position of the coin
      */
     Vector2D get_pos();
     
     /**
      * @brief Set the position
-     * @details Set the position of the block
+     * @param The position p (Vector2D)
+     * @details Set the position of the coin
      */
     void set_pos(Vector2D p);