class XMLUtil
package funkin.system
Class made to make XML parsing easier.
Static methods
staticaddXMLAnimation(sprite:FlxSprite, anim:Access, loop:Bool = false):ErrorCode
Adds an XML animation to sprite
.
Parameters:
sprite | Destination sprite |
---|---|
anim | Animation (Must be a |
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 |
|
staticcreateSpriteFromXML(node:Access, parentFolder:String = "", defaultAnimType:XMLAnimType = BEAT, ?cl:Class<XMLSprite>):XMLSprite
Creates a new sprite based on a XML node.