E - type of the blackboard object that tasks use to read or modify game statepublic class AlwaysFail<E> extends Decorator<E>
AlwaysFail decorator will fail no matter the wrapped task fails or succeeds.Task.Status| Constructor and Description |
|---|
AlwaysFail()
Creates an
AlwaysFail decorator with no child. |
AlwaysFail(Task<E> task)
Creates an
AlwaysFail decorator with the given child. |
| Modifier and Type | Method and Description |
|---|---|
void |
childSuccess(Task<E> runningTask)
This method will be called when one of the children of this task succeeds.
|
addChildToTask, childFail, childRunning, copyTo, getChild, getChildCount, runCopyright © 2018. All rights reserved.