Package zombie.characters.action
Class ActionContext
java.lang.Object
zombie.characters.action.ActionContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intvoidclearEvent(String string) protected booleancurrentStateSupportsChildState(ActionState actionState) final voidforeachChildState(Consumer consumer) final ActionStategetChildStateAt(int int1) getGroup()getOwner()final booleanbooleanhasEventOccurred(String string) booleanhasEventOccurred(String string, int int1) final intindexOfChildState(Predicate predicate) voidprotected voidremoveChildStateAt(int int1) voidreportEvent(int int1, String string) voidreportEvent(String string) protected booleansetCurrentState(ActionState actionState) voidsetGroup(ActionGroup actionGroup) voidsetPlaybackStateSnapshot(ActionStateSnapshot actionStateSnapshot) protected booleantryAddChildState(ActionState actionState) voidupdate()
-
Field Details
-
onStateChanged
-
-
Constructor Details
-
ActionContext
-
-
Method Details
-
getOwner
-
update
public void update() -
getNextState
-
currentStateSupportsChildState
-
setPlaybackStateSnapshot
-
getPlaybackStateSnapshot
-
setCurrentState
-
tryAddChildState
-
removeChildStateAt
protected void removeChildStateAt(int int1) -
logCurrentState
public void logCurrentState() -
getCurrentState
-
setGroup
-
getGroup
-
reportEvent
-
reportEvent
-
hasChildStates
public final boolean hasChildStates() -
childStateCount
public final int childStateCount() -
foreachChildState
-
indexOfChildState
-
getChildStateAt
-
getChildStates
-
getCurrentStateName
-
getPreviousStateName
-
hasEventOccurred
-
hasEventOccurred
-
clearEvent
-