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:
19:903d67bb0dea
Parent:
17:5d8ff39a0e49
Child:
20:50ad2dad310d
--- a/Game_one/Game_one.h	Sun Apr 21 11:07:43 2019 +0000
+++ b/Game_one/Game_one.h	Sun Apr 21 12:14:59 2019 +0000
@@ -80,6 +80,27 @@
      */
     void intro(Gamepad &pad, N5110 &lcd);
     
+    /**
+     * @brief Set count
+     * @param count (int)
+     * @details The private function set the value for private member _count
+     */
+    void set_count(int count);
+    
+    /**
+     * @brief Update parameter alt
+     * @return current value of alt (int)
+     * @details The function flips the value of alt to draw the alternative sprite of character to create a running animation
+     */
+    int update_alt();
+    
+    /**
+     * @brief Set parameter _alt
+     * @param alt (int)
+     * @details The function sets the value for private memeber _alt
+     */
+    void set_alt(int alt);
+    
 private:
 
     /**
@@ -112,27 +133,6 @@
      */
     void gameover(N5110 &lcd, Gamepad &pad);
     
-    /**
-     * @brief Set count
-     * @param count (int)
-     * @details The private function set the value for private member _count
-     */
-    void set_count(int count);
-    
-    /**
-     * @brief Update parameter alt
-     * @return current value of alt (int)
-     * @details The function flips the value of alt to draw the alternative sprite of character to create a running animation
-     */
-    int update_alt();
-    
-    /**
-     * @brief Set parameter _alt
-     * @param alt (int)
-     * @details The function sets the value for private memeber _alt
-     */
-    void set_alt(int alt);
-    
     Score music;
     Game_one_cha _p1;