E - type of the blackboard object that tasks use to read or modify game statepublic static interface BehaviorTree.Listener<E>
BehaviorTree.addListener(Listener) method. When a task event occurs, the corresponding method is invoked.| Modifier and Type | Method and Description |
|---|---|
void |
childAdded(Task<E> task,
int index)
This method is invoked when a child task is added to the children of a parent task.
|
void |
statusUpdated(Task<E> task,
Task.Status previousStatus)
This method is invoked when the task status is set.
|
void statusUpdated(Task<E> task, Task.Status previousStatus)
task - the task whose status has been setpreviousStatus - the task's status before the updateCopyright © 2018. All rights reserved.