bovido/scripts/enemy/behavior_tree/can_wait_condition.gd
2023-07-01 13:26:45 +02:00

11 lines
155 B
GDScript

class_name CanWaitCodition
extends ConditionLeaf
func tick(actor, _blackboard):
if (
actor.next_target == null
):
return SUCCESS
return FAILURE