Constructor
Variables
Methods
drawTile (frame:Frame, x:Float, y:Float, width:Float, height:Float):Void
指定位置绘制tile
Parameters:
frame | |
---|---|
x | |
y | |
width | |
null | height |
playImages (array:Array<Dynamic>, fps:Int, loop:Bool, ?call:Void ‑> Void):Void
播放动画
Parameters:
array | 播放循序 |
---|---|
fps | 帧率 |
loop | 是否循环 |
call | 结束时是否回调 |