Class ActionContext

java.lang.Object
zombie.characters.action.ActionContext

public final class ActionContext extends Object
  • Field Details

  • Constructor Details

    • ActionContext

      public ActionContext(IAnimatable owner)
  • Method Details

    • getOwner

      public IAnimatable getOwner()
    • update

      public void update()
    • peekNextState

      public ActionState peekNextState()
    • canTransitionToState

      public boolean canTransitionToState(String string)
    • canTransitionToState

      public boolean canTransitionToState(String string, boolean boolean0)
    • currentStateSupportsChildState

      protected boolean currentStateSupportsChildState(ActionState actionState)
    • setPlaybackStateSnapshot

      public void setPlaybackStateSnapshot(ActionStateSnapshot snapshot)
    • getPlaybackStateSnapshot

      public ActionStateSnapshot getPlaybackStateSnapshot()
    • setCurrentState

      public boolean setCurrentState(ActionState actionState0)
    • tryAddChildState

      protected boolean tryAddChildState(ActionState actionState)
    • tryInsertChildState

      public boolean tryInsertChildState(ActionState actionState0)
    • removeChildStateAt

      public void removeChildStateAt(int int0)
    • logCurrentState

      public void logCurrentState()
    • clearActionContextEvents

      public void clearActionContextEvents()
    • getCurrentState

      public ActionState getCurrentState()
    • setGroup

      public void setGroup(ActionGroup group)
    • getGroup

      public ActionGroup getGroup()
    • reportEvent

      public void reportEvent(String event)
    • reportEvent

      public void reportEvent(String string1, String string0)
    • hasChildStates

      public final boolean hasChildStates()
    • childStateCount

      public final int childStateCount()
    • foreachChildState

      public final void foreachChildState(Consumer<ActionState> consumer)
    • indexOfChildState

      public final int indexOfChildState(Predicate<ActionState> predicate)
    • getChildStateAt

      public final ActionState getChildStateAt(int idx)
    • getChildStates

      public List<ActionState> getChildStates()
    • getCurrentStateName

      public String getCurrentStateName()
    • getPreviousStateName

      public String getPreviousStateName()
    • hasEventOccurred

      public boolean hasEventOccurred(String eventName)
      Returns TRUE if an event has occurred on any layer.
    • hasEventOccurred

      public boolean hasEventOccurred(String string0, String string1)
    • clearEvent

      public void clearEvent(String eventName)
    • getEvents

      public void getEvents(HashMap<String,String> hashMap)
    • getVariable

      public IAnimationVariableSlot getVariable(AnimationVariableHandle animationVariableHandle)
    • hasStateVariables

      public boolean hasStateVariables()