Static methods

Constructor

@:value({ name : null, colorEffect : null, elements : null, duration : 1 })new(index:Int, duration:Int = 1, ?elements:Array<FlxElement>, ?colorEffect:FlxColorEffect, ?name:String)

Variables

Methods

get(element:Int):FlxElement

getFrameIndices():Array<Int>

Get an array of the frame indices that this keyframe spans. For example, if the keyframe spans from 10 to 15, the array will be [10, 11, 12, 13, 14, 15].

Returns:

The integer array.

update(frame:Int):Void

@:value({ swfRender : false })updateRender(elapsed:Float, curFrame:Int, dictionary:Map<String, FlxSymbol>, swfRender:Bool = false):Void