Package | artcustomer.maxima.engine.sounds |
Class | public class SoundsCache |
Inheritance | SoundsCache ![]() |
Implements | IDestroyable |
Method | Defined By | ||
---|---|---|---|
Constructor
| SoundsCache | ||
addSound(url:String, sound:Sound):void
Add control in map. | SoundsCache | ||
destroy():void
Destructor
| SoundsCache | ||
[static]
Instantiate SoundsCache. | SoundsCache | ||
getSound(url:String):Sound
Get sound in cache. | SoundsCache | ||
hasSound(url:String):Boolean
Test url in cache. | SoundsCache |
SoundsCache | () | Constructor |
public function SoundsCache()
Constructor
addSound | () | method |
public function addSound(url:String, sound:Sound):void
Add control in map.
Parameters
url:String | |
sound:Sound |
destroy | () | method |
public function destroy():void
Destructor
getInstance | () | method |
getSound | () | method |
public function getSound(url:String):Sound
Get sound in cache.
Parameters
url:String |
Sound —
|
hasSound | () | method |
public function hasSound(url:String):Boolean
Test url in cache.
Parameters
url:String |
Boolean —
|