Interface StateOwner

All Known Implementing Classes:
AbstractTwoStateLerpTransition, AnimationLayer, FadeTransitionState, FrozenTransitionState, SyncFadeTransitionState

public interface StateOwner
Describes a class that holds onto and directly utilizes an AnimationState. This interface is meant to act as a callback so that states can properly handle certain types of transitions such as end transitions - setting new states into the correct place in the later/state hierarchy.
  • Method Details

    • replaceState

      void replaceState(AbstractFiniteState currentState, AbstractFiniteState newState)
      Replace the given current state with the given new state
      Parameters:
      currentState - the state to replace
      newState - the state to replace it with.