Ben Evans / Mbed 2 deprecated Defender_Game

Dependencies:   mbed

Revision:
74:6827b43c689d
Parent:
73:d1aea9b8da92
Child:
76:6daba3002424
--- a/GameEngine/GameEngine.h	Sat May 23 21:50:33 2020 +0000
+++ b/GameEngine/GameEngine.h	Sat May 23 22:49:45 2020 +0000
@@ -77,6 +77,12 @@
         /** Time-triggered interrupt to wake MCU from sleep */
         void lcd_frame_time_isr();
         
+        /** Plays the music if its turned on */
+        void play_music();
+        
+        /** Stops the music if its turned off */
+        void stop_music();
+        
     // Menu Setting
         /** Runs settings screen*/
         void run_settings();
@@ -186,7 +192,10 @@
         
         /** Hold on or off depending if sound fx are set on or off */
         SoundParts sound_fx_;
-    
+        
+        /** Hold on or off depending if music is set on or off */
+        MusicParts  music_fx_;
+         
     //Spacehip Control  
         /** Define points*/
         int points_;