Package | com.catalystapps.gaf.sound |
Class | public class GAFSoundManager |
Inheritance | GAFSoundManager ![]() |
GAFSoundManager
provides an interface to control GAF sound playback.
All adjustments made through GAFSoundManager
affects all GAF sounds.
Method | Defined By | ||
---|---|---|---|
[static]
The instance of the GAFSoundManager (singleton)
| GAFSoundManager | ||
setVolume(volume:Number):void
The volume of the GAF sounds, ranging from 0 (silent) to 1 (full volume). | GAFSoundManager | ||
stopAll():void
Stops all GAF sounds currently playing
| GAFSoundManager |
getInstance | () | method |
public static function getInstance():GAFSoundManager
The instance of the GAFSoundManager
(singleton)
GAFSoundManager — The instance of the GAFSoundManager
|
setVolume | () | method |
public function setVolume(volume:Number):void
The volume of the GAF sounds, ranging from 0 (silent) to 1 (full volume).
Parameters
volume:Number — the volume of the sound
|
stopAll | () | method |
public function stopAll():void
Stops all GAF sounds currently playing