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