Added setMute method docs

This commit is contained in:
Pavle Goloskokovic 2018-01-26 15:19:55 +01:00
parent 4d5720d094
commit ace58fa019

View file

@ -351,6 +351,12 @@ var HTML5AudioSound = new Class({
this.stopAndReleaseAudioTag();
}
},
/**
* Method used internally to determine mute setting of the sound.
*
* @private
* @method Phaser.Sound.HTML5AudioSound#setMute
*/
setMute: function () {
if (this.audio) {
this.audio.muted = this.currentConfig.mute || this.manager.mute;