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
Diff: Menu/Menu.h
- Revision:
- 25:aa145767fda5
- Parent:
- 24:c7df5aa476a9
- Child:
- 27:c920c5ec31af
diff -r c7df5aa476a9 -r aa145767fda5 Menu/Menu.h
--- a/Menu/Menu.h Wed Apr 24 17:38:41 2019 +0000
+++ b/Menu/Menu.h Wed Apr 24 17:58:35 2019 +0000
@@ -6,18 +6,18 @@
#include "Gamepad.h"
#include "EngineController.h"
+/** State for finite state machine struct */
+struct State {
+ int output; /**< Integer for output number. */
+ int next_state[4]; /**< Array of integers for next possible states. */
+};
+
/** Menu Class
* @brief Class to control the overall state of the game
* @author Lewis Wooltorton
* @date April 2019
*/
-/** State for finite state machine struct */
-struct State {
- int output;
- int next_state[4];
-};
-
class Menu {
public:
// Constructor and Destructor.