AssetManager

Static variables

@:value(10)staticinlineread onlyMAX_ASSET_PROGRESS:Int = 10

@:value("")staticbaseUrl:String = ""

@:value("")staticlocal:String = ""

Static methods

@:externstaticinline_load(asset:String, cb:(Int, Int) ‑> Void):Void

@:externstaticinline_reset(asset:String):Void

staticinlineallCount(pathes:Array<String>, assets:Array<String>):Int

staticallCountWithChilds(cl:String, pathes:Array<String>, assets:Array<String>):Int

@:externstaticinlineanimation(asset:String, ?name:String):String

staticbackLoad(asset:String):Void

staticcbjoin(cb:(Int, Int) ‑> Void):Pair<(Int, Int) ‑> Void, (Int, Int) ‑> Void>

@:externstaticinlineclip(asset:String, ?name:String):String

@:externstaticinlinefont(asset:String):String

@:externstaticinlinegetPath(asset:String):String

@:externstaticinlineimage(asset:String, ?name:String):String

staticisLoaded(asset:String):Bool

@:value({ path : "" })staticload(path:String = "", asset:Or<String, Array<String>>, cb:(Int, Int) ‑> Void):Void

staticloadComplete(source:(Int, Int) ‑> Void ‑> Void, cb:() ‑> Void):Void

staticloadList(count:Int, cb:(Int, Int) ‑> Void):Array<(Int, Int) ‑> Void>

staticloadPack(pathes:Array<String>, assets:Array<String>, cb:(Int, Int) ‑> Void):Void

staticloadPackWithChilds(cl:String, pathes:Array<String>, assets:Array<String>, cb:(Int, Int) ‑> Void):Void

staticdynamicmonitor(current:Int, total:Int):Void

@:nullSafety(Off)staticparseInterval(asset:String):Array<String>

staticinlineremoveBase(path:String):String

staticinlinereset(asset:String):Void

staticresetAll():Void

@:externstaticinlinesound(asset:String):String

@:externstaticinlinespine(asset:String):String

@:externstaticinlinetexture(asset:String, ?name:String):String