C# Class BalloonsPop.SoundPlayer.SoundsLoader

Provides sound loading for the app.
Inheritance: ISoundsLoader
Show file Open project: Baloons-Pop-4/Main Class Usage Examples

Public Methods

Method Description
CreateSoundMedia ( string soundName ) : System.Media.SoundPlayer

Provides System.Media.SoundPlayers loaded with the sound matching the provided string.

Private Methods

Method Description
BuildFilePath ( string soundName ) : string

Method Details

CreateSoundMedia() public method

Provides System.Media.SoundPlayers loaded with the sound matching the provided string.
public CreateSoundMedia ( string soundName ) : System.Media.SoundPlayer
soundName string
return System.Media.SoundPlayer