E - type of the blackboard object that tasks use to read or modify game statepublic class Failure<E> extends LeafTask<E>
Failure is a leaf that immediately fails.Task.Status| Constructor and Description |
|---|
Failure()
Creates a
Failure task. |
| Modifier and Type | Method and Description |
|---|---|
protected Task<E> |
copyTo(Task<E> task)
Copies this task to the given task.
|
Task.Status |
execute()
Executes this
Failure task. |
addChildToTask, childFail, childRunning, childSuccess, getChild, getChildCount, runpublic Task.Status execute()
Failure task.Copyright © 2018. All rights reserved.