C# Class Ballz.Sound.SoundControl

Afficher le fichier Open project: SpagAachen/Ballz

Méthodes publiques

Свойство Type Description
AcceptSound string
BazookaSound string
DeclineSound string
DrownSound string
MenuMusic string
PistolSound string
SelectSound string
ShotSound string
WinnerSounds string>.Dictionary

Méthodes publiques

Méthode Description
GetSound ( string name ) : SoundEffect
PlaySound ( string name ) : void
SoundControl ( Ballz game ) : System
StartMusic ( string name ) : void
StopMusic ( string name ) : void

Private Methods

Méthode Description
InitMusic ( SoundEffect sndEffect ) : void
LoadSound ( string name ) : SoundEffect
UpdateMusicVolume ( ) : void

Method Details

GetSound() public méthode

public GetSound ( string name ) : SoundEffect
name string
Résultat Microsoft.Xna.Framework.Audio.SoundEffect

PlaySound() public méthode

public PlaySound ( string name ) : void
name string
Résultat void

SoundControl() public méthode

public SoundControl ( Ballz game ) : System
game Ballz
Résultat System

StartMusic() public méthode

public StartMusic ( string name ) : void
name string
Résultat void

StopMusic() public méthode

public StopMusic ( string name ) : void
name string
Résultat void

Property Details

AcceptSound public_oe static_oe property

public static string AcceptSound
Résultat string

BazookaSound public_oe static_oe property

public static string BazookaSound
Résultat string

DeclineSound public_oe static_oe property

public static string DeclineSound
Résultat string

DrownSound public_oe static_oe property

public static string DrownSound
Résultat string

MenuMusic public_oe static_oe property

public static string MenuMusic
Résultat string

PistolSound public_oe static_oe property

public static string PistolSound
Résultat string

SelectSound public_oe static_oe property

public static string SelectSound
Résultat string

ShotSound public_oe static_oe property

public static string ShotSound
Résultat string

WinnerSounds public_oe static_oe property

public static Dictionary WinnerSounds
Résultat string>.Dictionary