Skip to main content

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
TypeNameDescription
Meadow.Foundation.Audio.GameSoundEffecteffectThe sound effect to play

PlaySplash()

Plays a splash sound effect

View Source
public Task PlaySplash()
Returns

System.Threading.Tasks.Task