bovido/scripts/enemy/behavior_tree/can_throw_ball_condition.gd

8 lines
148 B
GDScript3
Raw Normal View History

class_name CanThrowBallCondition
extends ConditionLeaf
func tick(actor, _blackboard):
if !actor.has_thrown_ball:
return SUCCESS
return FAILURE