diff options
author | ClarkeCode <33846391+ClarkeCode@users.noreply.github.com> | 2023-03-04 19:46:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-04 19:46:42 +0100 |
commit | 028247a24866726b79c56cb2f266738a8a9abc70 (patch) | |
tree | 0807714d81b61002b4613dfa0c10aa7b1209eac6 /game/src/LobbyMenu | |
parent | 2f4842769b0856bc08a256907b64046fb55381ac (diff) | |
parent | 3e088a2642d2d05eed011b2dd1bdee566225719f (diff) |
Merge pull request #55 from Hop311/req-comments
Comments marking implemented requirements
Diffstat (limited to 'game/src/LobbyMenu')
-rw-r--r-- | game/src/LobbyMenu/LobbyMenu.gd | 5 | ||||
-rw-r--r-- | game/src/LobbyMenu/LobbyMenu.tscn | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/game/src/LobbyMenu/LobbyMenu.gd b/game/src/LobbyMenu/LobbyMenu.gd index cc4bb05..873e2a2 100644 --- a/game/src/LobbyMenu/LobbyMenu.gd +++ b/game/src/LobbyMenu/LobbyMenu.gd @@ -11,6 +11,7 @@ signal save_game_selected var start_button : BaseButton # REQUIREMENTS: +# * SS-16 # * UIFUN-40 func _on_back_button_button_down(): print("Returning to Main Menu.") @@ -18,14 +19,14 @@ func _on_back_button_button_down(): # REQUIREMENTS: -# * UIFUN-65 +# * SS-21 func _on_start_button_button_down(): print("Starting new game.") get_tree().change_scene_to_file("res://src/SampleGame.tscn") # REQUIREMENTS: -# * UIFUN-61 +# * SS-19 func _on_game_select_list_item_selected(index): print("Selected save game: ", index) save_game_selected.emit(index) diff --git a/game/src/LobbyMenu/LobbyMenu.tscn b/game/src/LobbyMenu/LobbyMenu.tscn index 340d47d..fcf2263 100644 --- a/game/src/LobbyMenu/LobbyMenu.tscn +++ b/game/src/LobbyMenu/LobbyMenu.tscn @@ -3,6 +3,7 @@ [ext_resource type="Script" path="res://src/LobbyMenu/LobbyMenu.gd" id="1_cvwum"] [node name="LobbyMenu" type="HBoxContainer" node_paths=PackedStringArray("start_button")] +editor_description = "UI-36" anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 @@ -31,6 +32,7 @@ layout_mode = 2 size_flags_vertical = 3 [node name="BackButton" type="Button" parent="GameSelectPanel/VBoxContainer"] +editor_description = "UI-37" layout_mode = 2 text = "Back" @@ -66,6 +68,7 @@ layout_mode = 2 size_flags_vertical = 3 [node name="StartButton" type="Button" parent="GameStartPanel/VBoxContainer"] +editor_description = "UI-43" layout_mode = 2 disabled = true text = "Start Game" |