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

7 lines
176 B
GDScript

class_name GetBallDestinationAction
extends ActionLeaf
func tick(actor: Node, blackboard: Blackboard):
blackboard.set_value("destination", actor.next_target)
return SUCCESS