Skip to content

Commit 92669f3

Browse files
Added onFocus method docs
1 parent aaee738 commit 92669f3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/sound/html5/HTML5AudioSoundManager.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,13 @@ var HTML5AudioSoundManager = new Class({
170170
}
171171
});
172172
},
173+
/**
174+
* Method used internally for resuming sound manager if
175+
* Phaser.Sound.HTML5AudioSoundManager#pauseOnBlur is set to true.
176+
*
177+
* @protected
178+
* @method Phaser.Sound.HTML5AudioSoundManager#onFocus
179+
*/
173180
onFocus: function () {
174181
this.onBlurPausedSounds.forEach(function (sound) {
175182
sound.onFocus();

0 commit comments

Comments
 (0)