Defined Animation
class DefinedAnimation(val info: Animation.AnimationInfo, val animation: suspend (AnimationManager, RunningAnimationParams, <Error class: unknown class>) -> Unit) : Animation
An animation that is defined in the library and compiled into the jar
Constructors
Link copied to clipboard
constructor(info: Animation.AnimationInfo, animation: suspend (AnimationManager, RunningAnimationParams, <Error class: unknown class>) -> Unit)
Properties
Link copied to clipboard
val animation: suspend (AnimationManager, RunningAnimationParams, <Error class: unknown class>) -> Unit
Link copied to clipboard
Information about the animation
Functions
Link copied to clipboard
open suspend override fun runAnimation(leds: AnimationManager, params: RunningAnimationParams, scope: <Error class: unknown class>)
Run the animation, passing it the AnimationManager running it, parameters specifying how to run the animation, and the CoroutineScope the animation is running in