player names are now displayed above player hands

This commit is contained in:
2025-07-16 09:45:44 +02:00
parent 92ea8807c8
commit 4dcbc6787b
3 changed files with 8 additions and 3 deletions
+3
View File
@@ -30,6 +30,9 @@ func _ready() -> void:
if hide_client_name:
name_label.hide()
func set_player_name(player_name: String) -> void:
name_label.text = player_name
func add_card(card: PlayingCard) -> void:
card_container.add_child(card)
_arrange_cards()