C# Class SGDE.Audio.SoundQueue

Mostra file Open project: sgdc/sgdc-old

Public Methods

Method Description
GetSoundObject ( int index ) : SoundObject
PauseAllSounds ( ) : void
PlayMusic ( Microsoft.Xna.Framework.Media.Song sound, double loopLoc ) : void
PlaySoundEffect ( SoundEffect sound ) : int
PlayVoiceEffect ( SoundEffect sound ) : int
SetMusicVolume ( float num ) : void
SetNextMusic ( Microsoft.Xna.Framework.Media.Song id, double loopLoc ) : void
SoundQueue ( ) : System
StopAllSounds ( ) : void
StopMusic ( ) : void
StopSound ( int loc ) : void
UnpauseAllSounds ( ) : void

Method Details

GetSoundObject() public method

public GetSoundObject ( int index ) : SoundObject
index int
return SoundObject

PauseAllSounds() public method

public PauseAllSounds ( ) : void
return void

PlayMusic() public method

public PlayMusic ( Microsoft.Xna.Framework.Media.Song sound, double loopLoc ) : void
sound Microsoft.Xna.Framework.Media.Song
loopLoc double
return void

PlaySoundEffect() public method

public PlaySoundEffect ( SoundEffect sound ) : int
sound Microsoft.Xna.Framework.Audio.SoundEffect
return int

PlayVoiceEffect() public method

public PlayVoiceEffect ( SoundEffect sound ) : int
sound Microsoft.Xna.Framework.Audio.SoundEffect
return int

SetMusicVolume() public method

public SetMusicVolume ( float num ) : void
num float
return void

SetNextMusic() public method

public SetNextMusic ( Microsoft.Xna.Framework.Media.Song id, double loopLoc ) : void
id Microsoft.Xna.Framework.Media.Song
loopLoc double
return void

SoundQueue() public method

public SoundQueue ( ) : System
return System

StopAllSounds() public method

public StopAllSounds ( ) : void
return void

StopMusic() public method

public StopMusic ( ) : void
return void

StopSound() public method

public StopSound ( int loc ) : void
loc int
return void

UnpauseAllSounds() public method

public UnpauseAllSounds ( ) : void
return void