startAnimation

fun <T> startAnimation(animation: Animation<T>, t: T)

Starts the given animation, on the given class

Animation will run in an async bukkit task

Parameters

animation

the animation to start

t

the instance to run it on

See also