Skip to main content

Class GameSounds

A class for playing game sounds using an IToneGenerator

Assembly: MicroAudio.dll​
View Source​
Declaration
public class GameSounds

Methods​

PlayEffect(GameSoundEffect)​

Plays the specified sound effect

View Source​
Declaration
public Task PlayEffect(GameSoundEffect effect)
Returns​

System.Threading.Tasks.Task

Parameters​
TypeNameDescription
Meadow.Foundation.Audio.GameSoundEffecteffectThe sound effect to play

PlaySplash()​

Plays a splash sound effect

View Source​
Declaration
public Task PlaySplash()
Returns​

System.Threading.Tasks.Task