ELEC2645 (2018/19) / Mbed 2 deprecated el17dg

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

Revision:
28:35af3843de8f
Parent:
27:f05f4e738ba9
Child:
29:579e00b7f118
--- a/menu/menu.h	Mon Apr 08 14:41:57 2019 +0000
+++ b/menu/menu.h	Wed Apr 10 15:42:10 2019 +0000
@@ -1,6 +1,9 @@
 #ifndef MENU_H
 #define MENU_H
 
+/** Creates //////////////////////////////////////////////
+  *
+  */
 enum ScreenOption {             //the available options in the menu.
     ScreenOption_Menu,
     ScreenOption_Game,
@@ -12,9 +15,10 @@
     public:
     /** A constructor for Menu*/
         Menu();
-                                // Updates menu input, option select and draws menu
-                                // Return true if user picked a menu option
-        bool updateAndDraw(); 
+    /** Updates and draws menu input. Also, allows to select an option availabe   
+      * from the enum. It return "true" statment if the user picked a menu option.
+      */                            
+        bool updateAndDraw();  
 
         ScreenOption getCurrentScreenSelection();