C# Class CrisisAtSwissStation.AudioManager

Mostra file Open project: danielpcox/Crisis-at-Swiss-Station Class Usage Examples

Public Methods

Method Description
DecreaseMusicVolume ( float decrement ) : void
DecreaseSFXVolume ( float decrement ) : void
IncreaseMusicVolume ( float increment ) : void
IncreaseSFXVolume ( float increment ) : void
Initialize ( ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
Mute ( ) : void
Pause ( ) : void
Play ( MusicSelection selection ) : void
Play ( SFXSelection selection ) : void
Play ( string songname ) : void
PlayNext ( ) : void
Stop ( ) : void
isMuted ( ) : bool

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void
Update ( GameTime gameTime ) : void

Method Details

DecreaseMusicVolume() public method

public DecreaseMusicVolume ( float decrement ) : void
decrement float
return void

DecreaseSFXVolume() public method

public DecreaseSFXVolume ( float decrement ) : void
decrement float
return void

Draw() protected method

protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

IncreaseMusicVolume() public method

public IncreaseMusicVolume ( float increment ) : void
increment float
return void

IncreaseSFXVolume() public method

public IncreaseSFXVolume ( float increment ) : void
increment float
return void

Initialize() public method

public Initialize ( ) : void
return void

LoadContent() public method

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

Mute() public method

public Mute ( ) : void
return void

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( MusicSelection selection ) : void
selection MusicSelection
return void

Play() public method

public Play ( SFXSelection selection ) : void
selection SFXSelection
return void

Play() public method

public Play ( string songname ) : void
songname string
return void

PlayNext() public method

public PlayNext ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Update() protected method

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

isMuted() public method

public isMuted ( ) : bool
return bool