mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 21:53:59 +00:00
Added setMute method docs
This commit is contained in:
parent
4d5720d094
commit
ace58fa019
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue