diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-11-06 22:35:04 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-11-06 22:35:04 +0100 |
commit | 63d2a59042fb9d90a586ad85d8364de7c38aea8e (patch) | |
tree | f4c648b39313f10f44898d0216a9147dfb4ba491 /Game/Client.gd | |
parent | f20b3a48a14f34def41d823fabb476981ef7055e (diff) |
next commit
Diffstat (limited to 'Game/Client.gd')
-rw-r--r-- | Game/Client.gd | 9 |
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 |