Packageartcustomer.maxima.engine.sounds
Classpublic class SoundsCache
InheritanceSoundsCache Inheritance Object
Implements IDestroyable

SoundsCache



Public Methods
 MethodDefined 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
Constructor Detail
SoundsCache()Constructor
public function SoundsCache()

Constructor

Method Detail
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 
public static function getInstance():SoundsCache

Instantiate SoundsCache.

Returns
SoundsCache
getSound()method 
public function getSound(url:String):Sound

Get sound in cache.

Parameters

url:String

Returns
Sound
hasSound()method 
public function hasSound(url:String):Boolean

Test url in cache.

Parameters

url:String

Returns
Boolean