Constructor

new(duration:Float, tick:T ‑> Void)

Variables

active:Bool

running:Bool

Methods

interp(f:Float ‑> Float):Animation<T>

onCompleted(f:() ‑> Void):Animation<T>

onPaused(f:() ‑> Void):Animation<T>

onResumed(f:() ‑> Void):Animation<T>

onStarted(f:() ‑> Void):Animation<T>

onStopped(f:() ‑> Void):Animation<T>

onTick(f:T ‑> Void):Animation<T>

start(from:T, to:T):Animation<T>