players can now only select cards during their turn

This commit is contained in:
2025-07-18 14:17:44 +02:00
parent aef7778a4b
commit 06652ff910
4 changed files with 15 additions and 2 deletions
+2 -1
View File
@@ -143,7 +143,7 @@ size_flags_horizontal = 3
layout_mode = 2
text = "Send"
[node name="GameUI" type="Control" parent="HBoxContainer" node_paths=PackedStringArray("web_client", "start_game_button", "play_card_button", "bet_container", "bet_input", "round_label")]
[node name="GameUI" type="Control" parent="HBoxContainer" node_paths=PackedStringArray("web_client", "start_game_button", "play_card_button", "bet_container", "bet_input", "round_label", "player_hand")]
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 2
@@ -154,6 +154,7 @@ play_card_button = NodePath("PlayCardButton")
bet_container = NodePath("BetContainer")
bet_input = NodePath("BetContainer/BetInput")
round_label = NodePath("RoundLabel")
player_hand = NodePath("../../EnvironmentManager/PlayerHand0")
[node name="StartGameButton" type="Button" parent="HBoxContainer/GameUI"]
visible = false