Class AnimationEventHandler

java.lang.Object
kr.toxicity.model.api.animation.AnimationEventHandler

public final class AnimationEventHandler extends Object
Animation event handler
  • Constructor Details

    • AnimationEventHandler

      public AnimationEventHandler()
  • Method Details

    • start

      @NotNull public static @NotNull AnimationEventHandler start()
      Starts event handler
      Returns:
      new event handler
    • animationRemove

      @Internal public void animationRemove()
      Calls animation remove event
    • onAnimationRemove

      @NotNull public @NotNull AnimationEventHandler onAnimationRemove(@NotNull @NotNull Runnable runnable)
      Adds animation remove event handler
      Parameters:
      runnable - event handler
      Returns:
      self