Package kr.toxicity.model.api.animation
Class AnimationEventHandler
java.lang.Object
kr.toxicity.model.api.animation.AnimationEventHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid@NotNull AnimationEventHandleronAnimationRemove(@NotNull Runnable runnable) @NotNull AnimationEventHandleronStateCreated(@NotNull Consumer<UUID> consumer) @NotNull AnimationEventHandleronStateRemoved(@NotNull Consumer<UUID> consumer) static @NotNull AnimationEventHandlerstart()voidstateCreated(@NotNull UUID uuid) voidstateRemoved(@NotNull UUID uuid)
-
Constructor Details
-
AnimationEventHandler
public AnimationEventHandler()
-
-
Method Details
-
start
-
stateCreated
-
stateRemoved
-
animationRemove
@Internal public void animationRemove() -
onAnimationRemove
@NotNull public @NotNull AnimationEventHandler onAnimationRemove(@NotNull @NotNull Runnable runnable) -
onStateCreated
@NotNull public @NotNull AnimationEventHandler onStateCreated(@NotNull @NotNull Consumer<UUID> consumer) -
onStateRemoved
@NotNull public @NotNull AnimationEventHandler onStateRemoved(@NotNull @NotNull Consumer<UUID> consumer)
-