2023-06-27 21:25:32 +02:00
|
|
|
class_name GetBallDestinationAction
|
|
|
|
extends ActionLeaf
|
|
|
|
|
|
|
|
func tick(actor: Node, blackboard: Blackboard):
|
2023-07-01 17:12:02 +02:00
|
|
|
blackboard.set_value("destination", actor.next_destination)
|
2023-06-27 21:25:32 +02:00
|
|
|
return SUCCESS
|