Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed FXOS8700CQ mbed-rtos
Diff: Game_two/Game_two.h
- Revision:
- 29:75a05e9f0e8d
- Parent:
- 25:31111e6e13ad
- Child:
- 30:0ff3bede5307
--- 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 */