Class GameSounds
A class for playing game sounds using an IToneGenerator
Assembly: MicroAudio.dll
View Source
public class GameSounds
Methods
PlayEffect(GameSoundEffect)
Plays the specified sound effect
View Source
public Task PlayEffect(GameSoundEffect effect)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name | Description |
---|---|---|
Meadow.Foundation.Audio.GameSoundEffect | effect | The sound effect to play |
PlaySplash()
Plays a splash sound effect
View Source
public Task PlaySplash()
Returns
System.Threading.Tasks.Task