Initialize Sound object.
Source for the sound.
Initial options for the sound.
Whether or not the sound is currently playing.
Gets the current volume setting.
Sets the volume of the sound.
Play the sound from the beginning.
Overriding options for the sound.
Stop the sound from playing.
Provides sounds for your game!
Example
const ding = new Sound('assets/sounds/ding.ogg') // When the sound should play. ding.play()