Zeyu Feng 201377605

Dependencies:   mbed

On Minerva

Revision:
20:a36ab1560e73
Parent:
19:5083339b55e8
Child:
21:e3866e4fe5fb
--- a/Interface/Interface.h	Thu May 21 17:07:46 2020 +0000
+++ b/Interface/Interface.h	Fri May 22 03:54:22 2020 +0000
@@ -11,6 +11,7 @@
 *@author Zeyu Feng
 *@10 MAY 2020
 */
+
 /**struct of fsm for menu option*/
 struct State{
     int option;
@@ -26,7 +27,8 @@
     
     /**Destructor*/
     ~Interface();
-        
+    
+    /** initalises the flag varibales*/   
     void init();
         
     /** set a welcome interface for my game*/
@@ -56,11 +58,16 @@
     /** Victory interface*/
     void victory(N5110 &lcd,Gamepad &pad);
     
-    /** make the game simple*/
+    /** simple game interface*/
     void simple_game(N5110 &lcd,Gamepad &pad);
     
+    /**accessors  set the count_down flag
+    *@param count_down(int)
+    */
     void set_count_down(int count_down);
     
+    //mutators---------------------------
+    
     int get_menu_flag();
     
     int get_rate_flag();
@@ -87,5 +94,6 @@
     int _victory_flag;
     char _buffer1[14];
     char _buffer2[14];  
+    
 };
 #endif
\ No newline at end of file