summaryrefslogtreecommitdiff
path: root/Game/Client.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-11-06 22:35:04 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-11-06 22:35:04 +0100
commit63d2a59042fb9d90a586ad85d8364de7c38aea8e (patch)
treef4c648b39313f10f44898d0216a9147dfb4ba491 /Game/Client.gd
parentf20b3a48a14f34def41d823fabb476981ef7055e (diff)
next commit
Diffstat (limited to 'Game/Client.gd')
-rw-r--r--Game/Client.gd9
1 files changed, 5 insertions, 4 deletions
diff --git a/Game/Client.gd b/Game/Client.gd
index 2c3bb69..7ca26ec 100644
--- a/Game/Client.gd
+++ b/Game/Client.gd
@@ -16,16 +16,17 @@ var state: State :
var current_stage: Stage
+var selection: SelectionManager
+
var player: Player:
get():
return Network.get_player(multiplayer.get_unique_id())
-func _ready():
- pass
-
-
func initialize_stage(stage: Stage):
+ selection = preload("res://Game/Selection/SelectionManager.tscn").instantiate()
+ add_child(selection)
+
current_stage = stage