E - type of the blackboard object that tasks use to read or modify game statepublic class Success<E> extends LeafTask<E>
Success is a leaf that immediately succeeds.Task.Status| Constructor and Description |
|---|
Success()
Creates a
Success 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
Success task. |
addChildToTask, childFail, childRunning, childSuccess, getChild, getChildCount, runpublic Task.Status execute()
Success task.protected Task<E> copyTo(Task<E> task)
TaskTask.cloneTask() only if Task.TASK_CLONER is
null which is its default value.Copyright © 2017. All rights reserved.