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:
9:1395c98b58fc
Child:
25:31111e6e13ad
--- a/Characters/Squirtle.h	Sat Apr 20 15:20:43 2019 +0000
+++ b/Characters/Squirtle.h	Sun Apr 21 11:02:28 2019 +0000
@@ -1,3 +1,9 @@
+/** Squirtle Class
+* @brief This class contains all information such as sprites and descriptions for the character Squirtle
+* @version 1.0
+* @author Yiu Fai Kwok
+* @date Match, 2019
+*/
 #ifndef SQUIRTLE_H
 #define SQUIRTLE_H
 
@@ -9,21 +15,101 @@
 {
 
 public:
+    /** Constructor */
     Squirtle();
+    /** Deconstructor */
     ~Squirtle();
 
+    /**
+     * @brief Draw the primary sprite
+     * @param position x pos_x (int)
+     * @param position y pos_y (int)
+     * @details Draws the primary evolution of the character, the position will be determined by parameters pos_x and pos_y
+     */
     void draw_cha1_sprite(int pos_x,int pos_y,N5110 &lcd);
+    
+    /**
+     * @brief Draw the secondary sprite
+     * @param position x pos_x (int)
+     * @param position y pos_y (int)
+     * @details Draws the secondary evolution of the character, the position will be determined by parameters pos_x and pos_y
+     */
     void draw_cha2_sprite(int pos_x,int pos_y,N5110 &lcd);
+    
+    /**
+     * @brief Draw the tertiary sprite
+     * @param position x pos_x (int)
+     * @param position y pos_y (int)
+     * @details Draws the tertiary evolution of the character, the position will be determined by parameters pos_x and pos_y
+     */
     void draw_cha3_sprite(int pos_x,int pos_y,N5110 &lcd);
+    
+    /**
+     * @brief Draw the primary alternative sprite
+     * @param position x pos_x (int)
+     * @param position y pos_y (int)
+     * @details Draws the alternative primary evolution of the character, the position will be determined by parameters pos_x and pos_y
+     */
     void draw_cha1_alt_sprite(int pos_x,int pos_y,N5110 &lcd);
+    
+    /**
+     * @brief Draw the secondary alternative sprite
+     * @param position x pos_x (int)
+     * @param position y pos_y (int)
+     * @details Draws the alternative secondary evolution of the character, the position will be determined by parameters pos_x and pos_y
+     */
     void draw_cha2_alt_sprite(int pos_x,int pos_y,N5110 &lcd);
+    
+    /**
+     * @brief Draw the tertiary alternative sprite
+     * @param position x pos_x (int)
+     * @param position y pos_y (int)
+     * @details Draws the alternative tertiary evolution of the character, the position will be determined by parameters pos_x and pos_y
+     */
     void draw_cha3_alt_sprite(int pos_x,int pos_y,N5110 &lcd);
+    
+    /**
+     * @brief Draw the evolution 1 sprite
+     * @details Draws the primary evolution of the character which is displayed when evolving
+     */
     void evo_1_sprite(N5110 &lcd);
+    
+    /**
+     * @brief Draw the evolution 2 sprite
+     * @details Draws the secondary evolution of the character which is displayed when evolving
+     */
     void evo_2_sprite(N5110 &lcd);
+    
+    /**
+     * @brief Draw the name title
+     * @param position x x (int)
+     * @param position y y (int)
+     * @details Draws the name tile of the character, the position will be determined by parameters x and y
+     */
     void evo_3_sprite(N5110 &lcd, int x, int y);
+    
+    /**
+     * @brief Draw the congratulation sprite for evolution 1
+     * @details Draws the primary evolution of the character which is displayed after evolution
+     */
     void evo_1_cong(N5110 &lcd);
+    
+    /**
+     * @brief Draw the congratulation sprite for evolution 2
+     * @details Draws the secondary evolution of the character which is displayed after evolution
+     */
     void evo_2_cong(N5110 &lcd);
+    
+    /**
+     * @brief Draw the congratulation sprite for evolution 3
+     * @details Draws the final evolution of the character which is displayed after evolution
+     */
     void evo_3_cong(N5110 &lcd);
+    
+    /**
+     * @brief Display the descrption of the character
+     * @details Contain the detail description of the character and the instruction sets to navigate through the manual
+     */
     void description(Gamepad &pad, N5110 &lcd);
     
 private: