C# Class Drought.Sound.SoundManager

显示文件 Open project: kiniry-teaching/UCD Class Usage Examples

Public Methods

Method Description
getInstance ( ) : SoundManager
playSound ( SoundHandle theSound ) : void
playSound ( SoundHandle theSound, MovableEntity emitterEntity ) : void
setListener ( Camera theListener ) : void
toggleSound ( ) : void
update ( ) : void

Private Methods

Method Description
SoundManager ( ) : System

Method Details

getInstance() public static method

public static getInstance ( ) : SoundManager
return SoundManager

playSound() public method

public playSound ( SoundHandle theSound ) : void
theSound SoundHandle
return void

playSound() public method

public playSound ( SoundHandle theSound, MovableEntity emitterEntity ) : void
theSound SoundHandle
emitterEntity Drought.Entity.MovableEntity
return void

setListener() public method

public setListener ( Camera theListener ) : void
theListener Drought.World.Camera
return void

toggleSound() public method

public toggleSound ( ) : void
return void

update() public method

public update ( ) : void
return void