progress
This commit is contained in:
@@ -19,6 +19,7 @@ func _init(character_node: Node2D, target: Vector2, move_speed: float = 100.0) -
|
||||
name = "MoveAction"
|
||||
|
||||
func start() -> void:
|
||||
print("started", character)
|
||||
if character == null:
|
||||
self._set_failed("Character is null")
|
||||
return
|
||||
@@ -29,6 +30,7 @@ func start() -> void:
|
||||
self._set_running()
|
||||
|
||||
func update(delta: float) -> void:
|
||||
print ("updating")
|
||||
if state != State.RUNNING:
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user