aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameSession/GameSpeedPanel.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/GameSession/GameSpeedPanel.gd
parentf3f240853b15a9f9b7cb561dc6626e7f342c5c74 (diff)
Tidying: missing req comments, submodules, hotkeys
Diffstat (limited to 'game/src/Game/GameSession/GameSpeedPanel.gd')
-rw-r--r--game/src/Game/GameSession/GameSpeedPanel.gd10
1 files changed, 8 insertions, 2 deletions
diff --git a/game/src/Game/GameSession/GameSpeedPanel.gd b/game/src/Game/GameSession/GameSpeedPanel.gd
index 80708b1..6a4b4de 100644
--- a/game/src/Game/GameSession/GameSpeedPanel.gd
+++ b/game/src/Game/GameSession/GameSpeedPanel.gd
@@ -1,6 +1,7 @@
extends PanelContainer
-#UI-74 UI-75 UI-76 UI-77
+# REQUIREMENTS:
+# * SS-37, SS-38, SS-39
@export var _longform_date_button : Button
@export var _play_pause_display_button : Button
@@ -19,15 +20,20 @@ func _update_buttons():
_longform_date_button.text = GameSingleton.get_longform_date()
-
+# REQUIREMENTS:
+# * UIFUN-73
func _on_decrease_speed_button_pressed():
GameSingleton.decrease_speed()
_update_buttons()
+# REQUIREMENTS:
+# * UIFUN-72
func _on_increase_speed_button_pressed():
GameSingleton.increase_speed()
_update_buttons()
+# REQUIREMENTS:
+# * UIFUN-71
func _on_play_pause_display_button_pressed():
GameSingleton.toggle_paused()
_update_buttons()