Animation

interface Animation : Identifiable

Represents a series of AnimationFrames which if drawn on the screen after each other become an animation.

Types

Companion
Link copied to clipboard
common
object Companion

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

id
Link copied to clipboard
common
abstract val id: UUID
isLoopedIndefinitely
Link copied to clipboard
common
abstract val isLoopedIndefinitely: Boolean
Tells whether this Animation is looped indefinitely.
loopCount
Link copied to clipboard
common
abstract val loopCount: Int
How many times this Animation will be looped.
tick
Link copied to clipboard
common
abstract val tick: Long
Tells how often an AnimationFrame should be drawn in milliseconds.
totalFrameCount
Link copied to clipboard
common
abstract val totalFrameCount: Int
The total number of frames in this animation (including those which are repeated as well).
uniqueFrameCount
Link copied to clipboard
common
abstract val uniqueFrameCount: Int
The number of AnimationFrames which are in this animation.

Inheritors

AnimationHandle
Link copied to clipboard
InternalAnimation
Link copied to clipboard

Sources

(source)
Link copied to clipboard