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 FATFileSystem
Diff: Menu/Menu.h
- Revision:
- 1:6179c2d67d19
- Child:
- 2:81cfa8310f55
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Menu/Menu.h Mon Mar 18 11:02:06 2019 +0000
@@ -0,0 +1,41 @@
+#ifndef MENU_H
+#define MENU_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+
+/** Enum for menu options */
+enum MenuChoices {
+ Start, /**< Begin Game */
+ Highscores, /**< View Highscores */
+ Settings, /**< View Settings */
+};
+
+/** Menu Class
+* @brief Library for controlling menu options
+* @author Ellis Blackford Stroud
+* @date May, 2018
+*/
+
+class Menu {
+
+public:
+
+ /** Constructor */
+ Menu();
+
+ /** Destructor */
+ ~Menu();
+
+ /** Prints opening message */
+ void print_welcome(N5110 &lcd);
+
+ /** Prints menu screen */
+ void print_menu(N5110 &lcd);
+
+private:
+
+};
+
+#endif
\ No newline at end of file