| Package | Description |
|---|---|
| com.almasb.fxgl.ai.btree | |
| com.almasb.fxgl.ai.btree.decorator |
| Modifier and Type | Class and Description |
|---|---|
class |
LoopDecorator<E>
LoopDecorator is an abstract class providing basic functionalities for concrete looping decorators. |
| Modifier and Type | Class and Description |
|---|---|
class |
AlwaysFail<E>
An
AlwaysFail decorator will fail no matter the wrapped task fails or succeeds. |
class |
AlwaysSucceed<E>
An
AlwaysSucceed decorator will succeed no matter the wrapped task succeeds or fails. |
class |
Include<E>
An
Include decorator grafts a subtree. |
class |
Invert<E>
An
Invert decorator will succeed if the wrapped task fails and will fail if the wrapped task succeeds. |
class |
Random<E>
The
Random decorator succeeds with the specified probability, regardless of whether the wrapped task fails or succeeds. |
class |
Repeat<E>
A
Repeat decorator will repeat the wrapped task a certain number of times, possibly infinite. |
class |
SemaphoreGuard<E>
A
SemaphoreGuard decorator allows you to specify how many characters should be allowed to concurrently execute its
child which represents a limited resource used in different behavior trees (note that this does not necessarily involve
multithreading concurrency). |
class |
UntilFail<E>
The
UntilFail decorator will repeat the wrapped task until that task fails, which makes the decorator succeed. |
class |
UntilSuccess<E>
The
UntilSuccess decorator will repeat the wrapped task until that task succeeds, which makes the decorator succeed. |
Copyright © 2017. All rights reserved.