Package | artcustomer.framework.loaders.assets.data |
Class | public class AssetsCache |
Inheritance | AssetsCache Object |
Implements | IDestroyable |
Method | Defined By | ||
---|---|---|---|
Constructor
| AssetsCache | ||
Add Asset in cache. | AssetsCache | ||
destroy():void
Destructor
| AssetsCache | ||
dumpAssets():String
Get assets list in String format. | AssetsCache | ||
Get Asset by source
| AssetsCache | ||
getAssetByFile(file:String):IAsset
Get Asset by file
| AssetsCache | ||
getAssetByName(name:String):IAsset
Get Asset by name
| AssetsCache | ||
Get asset group. | AssetsCache | ||
hasAsset(source:String):Boolean
Test Asset in cache. | AssetsCache |
AssetsCache | () | Constructor |
public function AssetsCache()
Constructor
addAsset | () | method |
destroy | () | method |
public function destroy():void
Destructor
dumpAssets | () | method |
public function dumpAssets():String
Get assets list in String format.
ReturnsString —
|
getAsset | () | method |
public function getAsset(source:String):IAsset
Get Asset by source
Parameters
source:String |
IAsset —
|
getAssetByFile | () | method |
public function getAssetByFile(file:String):IAsset
Get Asset by file
Parameters
file:String |
IAsset —
|
getAssetByName | () | method |
public function getAssetByName(name:String):IAsset
Get Asset by name
Parameters
name:String |
IAsset —
|
getGroup | () | method |
public function getGroup(group:String):Vector.<IAsset>
Get asset group.
Parameters
group:String |
Vector.<IAsset> —
|
hasAsset | () | method |
public function hasAsset(source:String):Boolean
Test Asset in cache.
Parameters
source:String |
Boolean |