1
Fork 0
mirror of https://github.com/Steffo99/nanogolf.git synced 2024-11-25 09:34:18 +00:00
algodist-steffo-nanogolf/scenes/lobby_menu.gd

19 lines
377 B
GDScript3
Raw Normal View History

2024-02-28 05:30:45 +00:00
extends Control
class_name LobbyMenu
2024-03-07 04:06:37 +00:00
signal leave_confirmed
signal start_confirmed
2024-02-28 05:30:45 +00:00
@onready var players_list: PlayersList = $"Layout/PlayersList"
func _on_trackers_changed(trackers: Dictionary):
players_list._on_trackers_changed(trackers)
2024-03-07 04:06:37 +00:00
func _on_leave_button_pressed() -> void:
leave_confirmed.emit()
func _on_start_button_pressed() -> void:
start_confirmed.emit()