player controller logic

This commit is contained in:
bee
2026-07-07 11:53:39 +02:00
parent b4f6dda29b
commit a40d0bfdd3
10 changed files with 93 additions and 25 deletions
+2 -1
View File
@@ -4,11 +4,12 @@ extends CanvasLayer
## The HUD's only inputs. Everything inside hud.tscn gets its references
## from here -- nothing inside the scene reaches out on its own.
@export var boat: Boat:
var boat: Boat: # Controlled by PlayerController TODO: Testing values, different label for different types
set(value):
boat = value
if is_node_ready():
_distribute()
@export var world: WorldManager:
set(value):
world = value