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:
31:0d2c19a285f6
--- a/Score/Score.h	Sat Apr 20 15:20:43 2019 +0000
+++ b/Score/Score.h	Sun Apr 21 11:02:28 2019 +0000
@@ -51,8 +51,8 @@
     
     /**
      * @brief Evolution animation and music
-     * @param cha
-     * @param year
+     * @param character cha (int)
+     * @param the value of year (int)
      * @details Background music played when player's character enters evolution, dependent on character selected (cha) and year of which player is currently in (year), initiate animation for evolution.
      */
     void evolution_music(Gamepad &pad, N5110 &lcd, int cha, int year);
@@ -65,18 +65,18 @@
     
     /**
      * @brief Draw sprite of pokemon
-     * @param cha
-     * @param year
-     * @param x
-     * @param y
+     * @param character cha (int)
+     * @param the value of year (int)
+     * @param the value of x (int)
+     * @param the value of y (int)
      * @details Draw sprite of character depending on character selected (cha) and the year at which the player is in (year). Location of the sprite is determined by x and y to generate the moving name title.
      */
     void draw(N5110 &lcd, int cha, int year, int x, int y);
     
     /**
      * @brief Draw sprite of evolved pokemon
-     * @param cha
-     * @param year
+     * @param character cha (int)
+     * @param the value of year (int)
      * @details Draw sprite of evolved character according to year (year) and character selected (cha)
      */
     void draw_cong(N5110 &lcd, int cha, int year);
@@ -95,7 +95,8 @@
     
     /**
      * @brief Music for EXAM running in parallel to the exam
-     * @details Background music played during the EXAM
+     * @param state (bool)
+     * @details Background music played during the EXAM, stops when the boolean variable state becomes false
      */
     void gym(Gamepad &pad, bool state);