player controller logic
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user