Class made to make XML parsing easier.
Static methods
View in GitHub
staticaddXMLAnimation(sprite:FlxSprite, anim:Access, loop:Bool = false):ErrorCode
Adds an XML animation to sprite
.
Parameters:
sprite | Destination sprite |
---|---|
anim | Animation (Must be a |
View in GitHub
staticapplyXMLProperty(object:Dynamic, property:Access):ErrorCode
Applies a property XML node to an object.
Parameters:
object | Object to which the xml property will be applied |
---|---|
property |
|
View in GitHub
staticinlinecreateSpriteFromXML(node:Access, parentFolder:String = "", defaultAnimType:XMLAnimType = BEAT, ?cl:Class<FunkinSprite>, ?args:Array<Dynamic>):FunkinSprite
Creates a new sprite based on a XML node.
View in GitHub
staticextractAnimFromXML(anim:Access, animType:XMLAnimType = NONE, loop:Bool = false):AnimData
View in GitHub
staticgetTextFormats(_node:OneOfTwo<Xml, Access>, ?currentFormat:Dynamic, ?parsedSegments:Array<TextFormat>):Array<TextFormat>
View in GitHub
staticloadSpriteFromXML(spr:FunkinSprite, node:Access, parentFolder:String = "", defaultAnimType:XMLAnimType = BEAT):FunkinSprite
Overrides a sprite based on a XML node.