AnimationEventHandler

Animation event handler

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@ApiStatus.Internal
open fun animationRemove()
Calls animation remove event
Link copied to clipboard
@NotNull
open fun onAnimationRemove(@NotNull runnable: @NotNull Runnable): @NotNull AnimationEventHandler
Adds animation remove event handler
Link copied to clipboard
@NotNull
open fun onStateCreated(@NotNull consumer: @NotNull Consumer<UUID>): @NotNull AnimationEventHandler
Adds state created event handler
Link copied to clipboard
@NotNull
open fun onStateRemoved(@NotNull consumer: @NotNull Consumer<UUID>): @NotNull AnimationEventHandler
Adds state removed event handler
Link copied to clipboard
@NotNull
open fun start(): @NotNull AnimationEventHandler
Starts event handler
Link copied to clipboard
@ApiStatus.Internal
open fun stateCreated(@NotNull uuid: @NotNull UUID)
Calls state created event
Link copied to clipboard
@ApiStatus.Internal
open fun stateRemoved(@NotNull uuid: @NotNull UUID)
Calls state removed event