AnimationGroup

class AnimationGroup(val info: Animation.AnimationInfo, val groupType: GroupType, val animationList: List<String>) : Animation, SendableData

Represents a group of animations that can be run

Constructors

Link copied to clipboard
constructor(info: Animation.AnimationInfo, groupType: GroupType, animationList: List<String>)

Types

Link copied to clipboard
data class NewAnimationGroupInfo(val groupType: GroupType, val groupInfo: Animation.AnimationInfo, val animationList: List<String>) : SendableData

Stores information about a new animation group to create

Properties

Link copied to clipboard

The list of animations to run

Link copied to clipboard

Identifies how the animations will be run

Link copied to clipboard
open override val info: Animation.AnimationInfo

Information about the group

Functions

Link copied to clipboard
open fun json(): ByteArray
Link copied to clipboard
open fun jsonString(): String
Link copied to clipboard
Link copied to clipboard
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