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.
Diff: Menus/Menu.h
- Revision:
- 4:0f2006e9c8f8
- Parent:
- 2:c7976a633ba0
--- a/Menus/Menu.h Wed May 08 22:18:51 2019 +0000
+++ b/Menus/Menu.h Thu May 09 02:37:14 2019 +0000
@@ -26,13 +26,13 @@
*/
int input(int select,Gamepad &pad);
/**
- * @brief initial all the parameter for the snake and food.
+ * @brief Main menu for settings and start game.
* @param N5110 *lcd @details pointer to the N5110 object in main, address of this pointer is saved to make availability to the entire class, without passing address to each function.
* @param Gamepad *pad @details pointer to the gamepad object in main, address of this pointer is saved to make availability to the entire class, without passing address to each function.
*/
void menus(N5110 &lcd,Gamepad &pad);
/**
- * @brief initial all the parameter for the snake and food.
+ * @brief select difiiculty.
* @param N5110 *lcd @details pointer to the N5110 object in main, address of this pointer is saved to make availability to the entire class, without passing address to each function.
* @param Gamepad *pad @details pointer to the gamepad object in main, address of this pointer is saved to make availability to the entire class, without passing address to each function.
* @returns fps @details is the frame per second, with higher fps means higher difficulty.