aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/MusicConductor/MusicPlayer.gd
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-07-21 01:26:31 +0200
committer Hop311 <hop3114@gmail.com>2023-07-21 01:26:31 +0200
commit62d001b0fa209f259440e160503dc5ffe5bcaa8f (patch)
treea0b28dffaba50d351cab1619f54516be23d2aa6f /game/src/Game/MusicConductor/MusicPlayer.gd
parentf3f240853b15a9f9b7cb561dc6626e7f342c5c74 (diff)
Tidying: missing req comments, submodules, hotkeys
Diffstat (limited to 'game/src/Game/MusicConductor/MusicPlayer.gd')
-rw-r--r--game/src/Game/MusicConductor/MusicPlayer.gd6
1 files changed, 5 insertions, 1 deletions
diff --git a/game/src/Game/MusicConductor/MusicPlayer.gd b/game/src/Game/MusicConductor/MusicPlayer.gd
index 47be158..e0a9006 100644
--- a/game/src/Game/MusicConductor/MusicPlayer.gd
+++ b/game/src/Game/MusicConductor/MusicPlayer.gd
@@ -31,18 +31,22 @@ func _on_play_pause_button_pressed():
MusicConductor.toggle_play_pause()
_update_play_pause_button()
+# REQUIREMENTS
+# * UIFUN-93
func _on_next_song_button_pressed():
MusicConductor.select_next_song()
_update_song_name_visual()
_update_play_pause_button()
+# REQUIREMENTS
+# * UIFUN-94
func _on_previous_song_button_pressed():
MusicConductor.select_previous_song()
_update_song_name_visual()
_update_play_pause_button()
# REQUIREMENTS
-# * UIFUN-92
+# * UIFUN-95
func _on_option_button_item_selected(index):
MusicConductor.start_song_by_index(index)
_update_song_name_visual()