| Package | Description |
|---|---|
| com.almasb.fxgl.ai.btree | |
| com.almasb.fxgl.ai.btree.decorator |
| Modifier and Type | Class and Description |
|---|---|
class |
BranchTask<E>
A branch task defines a behavior tree branch, contains logic of starting or running sub-branches and leaves
|
class |
Decorator<E>
A
Decorator is a wrapper that provides custom behavior for its child. |
class |
LeafTask<E>
A
LeafTask is a terminal task of a behavior tree, contains action or condition logic, can not have any child. |
class |
Task<E>
This is the abstract base class of all behavior tree tasks.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Include<E>
An
Include decorator grafts a subtree. |
class |
Random<E>
The
Random decorator succeeds with the specified probability, regardless of whether the wrapped task fails or succeeds. |
Copyright © 2017. All rights reserved.