Refactoring UI and Tile logic (to allow for Hotseat/LAN/Online multiplayer)

This commit is contained in:
Sch1nken 2024-03-19 23:16:29 +01:00
parent 1ed0ec226d
commit d688eaf9c6
17 changed files with 591 additions and 17 deletions

View file

@ -1,7 +1,12 @@
extends Control
@onready var exit_button = $PanelContainer/MarginContainer/VBoxContainer/ExitButton
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
if OS.has_feature("web"):
exit_button.visible = false
WSClient.lobby_joined.connect(_on_lobby_joined)
GameData.reset()