E- type of the blackboard object that tasks use to read or modify game state
public class Invert<E> extends Decorator<E>
Invertdecorator will succeed if the wrapped task fails and will fail if the wrapped task succeeds.
|Modifier and Type||Method and Description|
This method will be called when one of the children of this task fails
This method will be called when one of the children of this task succeeds
addChild, childRunning, copyTo, end, getChild, getChildCount, run, start
cloneTask, fail, getObject, reset, running, setControl, success