Static methods

staticfromJSON(element:Element):FlxElement

Constructor

new(?bitmap:String, ?symbol:SymbolParameters, ?matrix:FlxMatrix)

Creates a new FlxElement instance.

Parameters:

name

the name of the element. WARNING: this name is dynamic, in other words, this name can used for the limb or the symbol!

symbol

the symbol settings, ignore this if you want to add a limb.

matrix

the matrix of the element.

Variables

read onlybitmap:String

The name of the frame itself.

read onlymatrix:FlxMatrix

The matrix that the symbol or bitmap has.

read onlysymbol:SymbolParameters

All the other parameters that are exclusive to the symbol (instance, type, symbol name, etc.)

Methods