Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: GameEngine/GameEngine.h
- Revision:
- 74:6827b43c689d
- Parent:
- 73:d1aea9b8da92
- Child:
- 76:6daba3002424
diff -r d1aea9b8da92 -r 6827b43c689d GameEngine/GameEngine.h
--- 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_;