indigo.shared.animation

Type members

Classlikes

final case
class Animation(animationKey: AnimationKey, currentCycleLabel: CycleLabel, cycles: NonEmptyList[Cycle])
Companion
object
object Animation
Companion
class
final case
class AnimationMemento(bindingKey: BindingKey, currentCycleLabel: CycleLabel, currentCycleMemento: CycleMemento)
final case
class AnimationRef(animationKey: AnimationKey, currentCycleLabel: CycleLabel, cycles: Map[CycleLabel, CycleRef])
Companion
object
Companion
class
final case
class Cycle(label: CycleLabel, frames: NonEmptyList[Frame], playheadPosition: Int, lastFrameAdvance: Millis)
Companion
object
object Cycle
Companion
class
object CycleLabel
final case
class CycleMemento(playheadPosition: Int, lastFrameAdvance: Millis)
final case
class CycleRef(label: CycleLabel, frames: List[Frame], playheadPosition: Int, lastFrameAdvance: Millis)
Companion
object
object CycleRef
Companion
class
final case
class Frame(crop: Rectangle, duration: Millis)
Companion
object
object Frame
Companion
class

Types

opaque type AnimationKey
opaque type CycleLabel