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
Diff: Game_two/Game_two.h
- Revision:
- 29:75a05e9f0e8d
- Parent:
- 25:31111e6e13ad
- Child:
- 30:0ff3bede5307
diff -r a6726a3f8e6d -r 75a05e9f0e8d Game_two/Game_two.h --- a/Game_two/Game_two.h Mon May 06 02:42:34 2019 +0000 +++ b/Game_two/Game_two.h Mon May 06 20:35:37 2019 +0000 @@ -58,16 +58,16 @@ void update(Gamepad &pad, N5110 &lcd, int cha); /** - * @brief Draw function for Game 1 + * @brief Draw function for Game 2 * @param character cha (int) - * @details Draw function of Game 1 which draw all objects and characters according to the changing variables of positions, alternative sprites and constant (cha) + * @details Draw function of Game 2 which draw all objects and characters according to the changing variables of positions, alternative sprites and constant (cha) */ void draw(N5110 &lcd, int cha); /** * @brief Get count value * @return The current count (int) - * @details The function returns the number of coins that have appeared in the game to terminate the game loop once count reaches 10 + * @details The function returns the number of rounds that have taken place in the game to terminate the game loop once count reaches 6 */ int get_count(); @@ -79,13 +79,6 @@ 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); - - /** * @brief Intruction * @details The function displays the instructions which describe game rules at the beginning of the game */