Static methods
staticfromJSON(timeline:Timeline):Null<FlxTimeline>
Creates a FlxTimeline instance from the Animation file.
Parameters:
timeline | The animation file's timeline. |
|---|
Returns:
a new FlxTimeline instance.
Constructor
Variables
Methods
get(name:EitherType<String, Int>):FlxLayer
Gets a layer.
WARNING: it can return null!
Parameters:
name | Either the name of the layer or the position of it. |
|---|
Returns:
Either a FlxLayer instance or null.