Class AnimationState<T>

    • Constructor Detail

      • AnimationState

        public AnimationState()
    • Method Detail

      • shouldRun

        public final boolean shouldRun​(AnimationState<T> currentState)
        The animations are only allowed to run if the current state of the animated object matches this state.
      • shouldRunEndListener

        public final boolean shouldRunEndListener​(AnimationState<T> currentState)
        The animationEndListener is only allowed to run if the current state of the animated object matches this state.