C# Class Bug.Utils.Audio

Afficher le fichier Open project: Projectfights/Fight-insect Class Usage Examples

Méthodes publiques

Méthode Description
GetInstance ( ) : Audio
Play ( SoundEffect sfx ) : void
PlaySong ( SoundEffect song_ ) : void
Stop ( ) : void
StopSong ( ) : void

Private Methods

Méthode Description
Audio ( ) : Microsoft.Xna.Framework.Audio

Method Details

GetInstance() public static méthode

public static GetInstance ( ) : Audio
Résultat Audio

Play() public méthode

public Play ( SoundEffect sfx ) : void
sfx Microsoft.Xna.Framework.Audio.SoundEffect
Résultat void

PlaySong() public méthode

public PlaySong ( SoundEffect song_ ) : void
song_ Microsoft.Xna.Framework.Audio.SoundEffect
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

StopSong() public méthode

public StopSong ( ) : void
Résultat void