메소드 | 설명 | |
---|---|---|
CountSounds ( ) : int |
Returns the amount of registered sounds
|
|
PlaySound ( string soundName ) : void |
Plays the sound matching the given string. If no matching sound, throw an exception.
|
|
RegisterSound ( string soundName, System.Media.SoundPlayer player ) : void |
Caches a sound in the current instance.
|
|
SoundsPlayer ( ISoundsLoader loader ) : System |
Initializes a new instance of the SoundsPlayer class.
|
public RegisterSound ( string soundName, System.Media.SoundPlayer player ) : void | ||
soundName | string | |
player | System.Media.SoundPlayer | |
리턴 | void |
public SoundsPlayer ( ISoundsLoader loader ) : System | ||
loader | ISoundsLoader | |
리턴 | System |