Constructor

new ()

Variables

Methods

inline addAnim (name:String, time:Float, frames:Array<Texture>, loop:Bool):AnimationData

inline addAnimFromAssets (name:String, time:Float, frames:Array<String>, loop:Bool = false):AnimationData

inline addAnimFromGrid (name:String, time:Float, texture:Texture, rows:Int, cols:Int, ?frames:Array<Int>, total:Int = 0, loop:Bool = false):AnimationData

inline addAnimFromGridAssets (name:String, time:Float, texture:String, rows:Int, cols:Int, ?frames:Array<Int>, total:Int = 0, loop:Bool = false):AnimationData

play (?name:String, loop:Bool = false, resetFrameIndex:Bool = false):Void

setTextureFrame (id:String, frame:Int = 0):Void

Static methods

staticinline create ():AnimationComponent

Inherited Variables

Defined by DrawComponent

Defined by Component

Defined by BaseObject

read onlyid:Int = Gecko.getUniqueID()

read onlyisAlreadyDestroyed:Bool = false

Inherited Methods