| Package | Description |
|---|---|
| com.almasb.fxgl.ai.btree | |
| com.almasb.fxgl.ai.btree.leaf |
| Modifier and Type | Field and Description |
|---|---|
protected Task.Status |
Task.status
The status of this task.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Task.Status |
LeafTask.execute()
This method contains the update logic of this leaf task.
|
Task.Status |
Task.getStatus()
Returns the status of this task.
|
static Task.Status |
Task.Status.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Task.Status[] |
Task.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BehaviorTree.notifyStatusUpdated(Task<E> task,
Task.Status previousStatus) |
void |
BehaviorTree.Listener.statusUpdated(Task<E> task,
Task.Status previousStatus)
This method is invoked when the task status is set.
|
| Modifier and Type | Method and Description |
|---|---|
Task.Status |
Wait.execute()
Executes this
Wait task. |
Task.Status |
Success.execute()
Executes this
Success task. |
Task.Status |
Failure.execute()
Executes this
Failure task. |
Copyright © 2017. All rights reserved.