Method | Description | |
---|---|---|
LoadAllSounds ( ) : void |
Loads all sounds.
|
|
Play ( Audio sound, bool loop = false ) : void |
Plays the sound.
|
|
Play ( Audio music, float volume = MUSIC_VOLUME ) : void |
Plays the specified music.
|
|
PlayRandom ( ) : void | ||
Update ( System.TimeSpan gameTime ) : void |
Updates the specified game time.
|
Method | Description | |
---|---|---|
Initialize ( ) : void |
Initializes a new instance of the SoundsManager class.
|
|
Terminate ( ) : void |
Terminates this instance.
|
Method | Description | |
---|---|---|
GetSoundOrMusicPath ( |
Resolve paths
|
|
InternalPlaySound ( |
Internals the play sound.
|
|
Load ( |
Loads the sound.
|
|
SearchMusicAndSounds ( |
public Play ( Audio sound, bool loop = false ) : void | ||
sound | Audio | The sound. |
loop | bool | if set to |
return | void |
public Play ( Audio music, float volume = MUSIC_VOLUME ) : void | ||
music | Audio | The music. |
volume | float | |
return | void |
public Update ( System.TimeSpan gameTime ) : void | ||
gameTime | System.TimeSpan | The game time. |
return | void |