C# Class FlyingKite.Managers.SoundManager

Inheritance: Service
Afficher le fichier Open project: WaveEngine/QuickStarters Class Usage Examples

Méthodes publiques

Méthode Description
PlaySound ( SOUNDS sound ) : SoundInstance

Plays the sound.

PlaySound ( SOUNDS sound, bool loop ) : SoundInstance

Plays the sound.

PlaySound ( SOUNDS sound, float volume ) : SoundInstance

Plays the sound.

PlaySound ( SOUNDS sound, float volume, bool loop ) : SoundInstance

Plays the sound.

Méthodes protégées

Méthode Description
Initialize ( ) : void

Initializes a new instance of the SoundsManager class.

Terminate ( ) : void

Private Methods

Méthode Description
LoadSound ( SOUNDS sound, string file ) : void

Loads the sound.

Method Details

Initialize() protected méthode

Initializes a new instance of the SoundsManager class.
protected Initialize ( ) : void
Résultat void

PlaySound() public méthode

Plays the sound.
public PlaySound ( SOUNDS sound ) : SoundInstance
sound SOUNDS The sound.
Résultat SoundInstance

PlaySound() public méthode

Plays the sound.
public PlaySound ( SOUNDS sound, bool loop ) : SoundInstance
sound SOUNDS The sound.
loop bool if set to true [loop].
Résultat SoundInstance

PlaySound() public méthode

Plays the sound.
public PlaySound ( SOUNDS sound, float volume ) : SoundInstance
sound SOUNDS The sound.
volume float The volume.
Résultat SoundInstance

PlaySound() public méthode

Plays the sound.
public PlaySound ( SOUNDS sound, float volume, bool loop ) : SoundInstance
sound SOUNDS The sound.
volume float The volume.
loop bool if set to true [loop].
Résultat SoundInstance

Terminate() protected méthode

protected Terminate ( ) : void
Résultat void