Package zombie.characters.action
Class ActionContext
java.lang.Object
zombie.characters.action.ActionContext
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
void
clearEvent
(String string) protected boolean
currentStateSupportsChildState
(ActionState actionState) final void
foreachChildState
(Consumer consumer) final ActionState
getChildStateAt
(int int1) getGroup()
getOwner()
final boolean
boolean
hasEventOccurred
(String string) boolean
hasEventOccurred
(String string, int int1) final int
indexOfChildState
(Predicate predicate) void
protected void
removeChildStateAt
(int int1) void
reportEvent
(int int1, String string) void
reportEvent
(String string) protected boolean
setCurrentState
(ActionState actionState) void
setGroup
(ActionGroup actionGroup) void
setPlaybackStateSnapshot
(ActionStateSnapshot actionStateSnapshot) protected boolean
tryAddChildState
(ActionState actionState) void
update()
-
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
-