Add Multiplayer Demo

This commit is contained in:
2026-02-16 14:25:33 +01:00
commit 4a82f8bc6e
55 changed files with 2059 additions and 0 deletions

12
lobby_list_item.gd Normal file
View File

@@ -0,0 +1,12 @@
class_name LobbyListItem
extends HBoxContainer
@export var lobby: Dictionary
signal on_lobby_join_clicked(lobby_id: int)
@onready var label: Label = $Label
func _ready() -> void:
label.text = lobby.get("LobbyName")
func _on_button_pressed() -> void:
on_lobby_join_clicked.emit(lobby.get("LobbyId"))