| Package | artcustomer.maxima.engine.sounds |
| Class | public class SoundsCache |
| Inheritance | SoundsCache Object |
| 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):voidAdd control in map.
Parameters
url:String | |
sound:Sound |
| destroy | () | method |
public function destroy():voidDestructor
| getInstance | () | method |
| getSound | () | method |
public function getSound(url:String):SoundGet sound in cache.
Parameters
url:String |
Sound —
|
| hasSound | () | method |
public function hasSound(url:String):BooleanTest url in cache.
Parameters
url:String |
Boolean —
|