8 lines
148 B
GDScript
8 lines
148 B
GDScript
class_name CanThrowBallCondition
|
|
extends ConditionLeaf
|
|
|
|
func tick(actor, _blackboard):
|
|
if !actor.has_thrown_ball:
|
|
return SUCCESS
|
|
return FAILURE
|