SteppedComponentAnimation

sealed class SteppedComponentAnimation<T : GameComponentView> : ComponentAnimation<T>

SteppedComponentAnimation baseclass.

Parameters

gameComponentView

GameComponentView to animate.

duration

Duration in milliseconds.

Properties

Link copied to clipboard
val componentView: T

ComponentView to animate.

Link copied to clipboard
val duration: Int

Duration in milliseconds.

Link copied to clipboard
var isRunning: Boolean

Boolean indicating whether the Animation is currently running.

Link copied to clipboard
var onFinished: (AnimationFinishedEvent) -> Unit?

Gets invoked when Animation has finished.

Link copied to clipboard
val speed: Int

Speed in steps.

Inheritors

Link copied to clipboard
Link copied to clipboard