Variables

len:Int = 0

onComplete:Event<Void ‑> Void> = Event.create()

onError:Event<String ‑> Void> = Event.create()

onProgressEnd:Event<Int ‑> String ‑> Void> = Event.create()

onProgressStart:Event<Int ‑> String ‑> Void> = Event.create()

read onlyprogress:Int

Methods

observProgress (task:String ‑> String ‑> Void ‑> Void):String ‑> String ‑> Void ‑> Void

setTask (task:Void ‑> Void):Void

Static variables

staticblobs:Map<String, Blob> = new Map<String,Blob>()

staticread onlyfontFormats:Array<String>

staticfonts:Map<String, Font> = new Map<String,Font>()

staticread onlyimageFormats:Array<String>

staticimages:Map<String, Image> = new Map<String,Image>()

staticjson:Map<String, Dynamic> = new Map<String,Dynamic>()

staticread onlysoundFormats:Array<String>

staticsounds:Map<String, Sound> = new Map<String,Sound>()

statictextures:Map<String, Texture> = new Map<String,Texture>()

staticread onlyvideoFormats:Array<String>

staticvideos:Map<String, Video> = new Map<String,Video>()

Static methods

staticload (arr:Array<String>, ?onComplete:Void ‑> Void, ?onError:String ‑> Void):Assets

staticloadBlob (name:String, done:String ‑> Void):Void

staticloadFont (name:String, done:String ‑> Void):Void

staticloadImage (name:String, done:String ‑> Void):Void

staticloadJson (name:String, done:String ‑> Void):Void

staticloadSound (name:String, done:String ‑> Void):Void

staticloadVideo (name:String, done:String ‑> Void):Void

staticunload (arr:Array<String>, ?onComplete:Void ‑> Void, ?onError:String ‑> Void):Assets

staticunloadBlob (name:String, done:String ‑> Void):Void

staticunloadFont (name:String, done:String ‑> Void):Void

staticunloadImage (name:String, done:String ‑> Void):Void

staticunloadJson (name:String, done:String ‑> Void):Void

staticunloadSound (name:String, done:String ‑> Void):Void

staticunloadVideo (name:String, done:String ‑> Void):Void