Class ActionContext
java.lang.Object
zombie.characters.action.ActionContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canTransitionToState
(String string) boolean
canTransitionToState
(String string, boolean boolean0) final int
void
void
clearEvent
(String eventName) protected boolean
currentStateSupportsChildState
(ActionState actionState) final void
foreachChildState
(Consumer<ActionState> consumer) final ActionState
getChildStateAt
(int idx) void
getGroup()
getOwner()
getVariable
(AnimationVariableHandle animationVariableHandle) final boolean
boolean
hasEventOccurred
(String eventName) Returns TRUE if an event has occurred on any layer.boolean
hasEventOccurred
(String string0, String string1) boolean
final int
indexOfChildState
(Predicate<ActionState> predicate) void
void
removeChildStateAt
(int int0) void
reportEvent
(String event) void
reportEvent
(String string1, String string0) boolean
setCurrentState
(ActionState actionState0) void
setGroup
(ActionGroup group) void
setPlaybackStateSnapshot
(ActionStateSnapshot snapshot) protected boolean
tryAddChildState
(ActionState actionState) boolean
tryInsertChildState
(ActionState actionState0) void
update()
-
Field Details
-
onStateChanged
-
-
Constructor Details
-
ActionContext
-
-
Method Details
-
getOwner
-
update
public void update() -
peekNextState
-
canTransitionToState
-
canTransitionToState
-
currentStateSupportsChildState
-
setPlaybackStateSnapshot
-
getPlaybackStateSnapshot
-
setCurrentState
-
tryAddChildState
-
tryInsertChildState
-
removeChildStateAt
public void removeChildStateAt(int int0) -
logCurrentState
public void logCurrentState() -
clearActionContextEvents
public void clearActionContextEvents() -
getCurrentState
-
setGroup
-
getGroup
-
reportEvent
-
reportEvent
-
hasChildStates
public final boolean hasChildStates() -
childStateCount
public final int childStateCount() -
foreachChildState
-
indexOfChildState
-
getChildStateAt
-
getChildStates
-
getCurrentStateName
-
getPreviousStateName
-
hasEventOccurred
Returns TRUE if an event has occurred on any layer. -
hasEventOccurred
-
clearEvent
-
getEvents
-
getVariable
-
hasStateVariables
public boolean hasStateVariables()
-