ELEC2645 (2018/19) / Mbed 2 deprecated el17lw

Dependencies:   mbed

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.