C# Class CEngineSharp_Client.Audio.SfxManager

Afficher le fichier Open project: JohnLamontagne/CEngineSharp

Méthodes publiques

Méthode Description
GetSound ( string soundName ) : Sound
LoadSounds ( string soundFilePath ) : void
PlaySound ( string soundName ) : void
PlaySound ( string soundName, double listenerX, double listenerY, double soundX, double soundY, int maxSoundDistance ) : void

Method Details

GetSound() public méthode

public GetSound ( string soundName ) : Sound
soundName string
Résultat SFML.Audio.Sound

LoadSounds() public méthode

public LoadSounds ( string soundFilePath ) : void
soundFilePath string
Résultat void

PlaySound() public méthode

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

PlaySound() public méthode

public PlaySound ( string soundName, double listenerX, double listenerY, double soundX, double soundY, int maxSoundDistance ) : void
soundName string
listenerX double
listenerY double
soundX double
soundY double
maxSoundDistance int
Résultat void