An animation descriptor used for AnimationExt. Describes general information about animation.
new (frames:Array<AnimationFrame>)
Creates new animation descriptor with specified frames.
frames:Array<AnimationFrame>
List of frames used in animation.
loop:Bool
Should this animation loop?
next:String
If present, will switch to specified animation name when this animation end. In that case, it will not trigger next command from buffer.
@:value(null)nextFrame:Null<Int> = null
Optional frame at which next animation should start.
speed:Null<Float>
If not null, will set Animation.speed value to this value. Note: Does not reset to old value when switches to another animation.