1
Fork 0
mirror of https://github.com/Steffo99/nanogolf.git synced 2024-11-21 23:54:21 +00:00
algodist-steffo-nanogolf/scenes/lobby_menu.gd

18 lines
377 B
GDScript

extends Control
class_name LobbyMenu
signal leave_confirmed
signal start_confirmed
@onready var players_list: PlayersList = $"Layout/PlayersList"
func _on_trackers_changed(trackers: Dictionary):
players_list._on_trackers_changed(trackers)
func _on_leave_button_pressed() -> void:
leave_confirmed.emit()
func _on_start_button_pressed() -> void:
start_confirmed.emit()