Dependencies:   mbed

On Minerva

Revision:
16:cf2bfada3adf
Parent:
14:42b8a91e463c
Child:
17:ba4d9cd1e347
--- a/Interface/Interface.h	Fri May 15 12:21:45 2020 +0000
+++ b/Interface/Interface.h	Mon May 18 08:56:17 2020 +0000
@@ -4,10 +4,10 @@
 #include "mbed.h"
 #include "Gamepad.h"
 #include "N5110.h"
-#include  "SoundData.h"
+#include "Sound.h"
 
 /** Interface class
-*@welcome,meun,pause interface
+*@brief welcome,meun,pause interface
 *@author Zeyu Feng
 *@10 MAY 2020
 */
@@ -39,7 +39,7 @@
     void game_over(N5110 &lcd,Gamepad &pad);
         
     /** check pause for start botton*/
-    int check_pause(N5110 &lcd,Gamepad &pad,int paused_flag);
+    int check_pause(N5110 &lcd,Gamepad &pad,int paused_flag,float increment,int max);
         
     /** count down and draw in lcd*/
     int count_down(N5110 &lcd,int count_flag);
@@ -60,12 +60,15 @@
     int get_victory_flag();
         
 private:
-        
+    
+    Sound _sound;
     Timer _timer;
     Direction _d;
     int _sim_flag;
     int _gameover_flag;
     int _victory_flag;
+    char _buffer1[14];
+    char _buffer2[14];
         
 };
 #endif
\ No newline at end of file