Skip to content

Commit 88fcd1f

Browse files
Added stopAll method docs
1 parent 34b9bb6 commit 88fcd1f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

v3/src/sound/BaseSoundManager.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,11 @@ var BaseSoundManager = new Class({
235235
});
236236
this.events.dispatch(new SoundEvent(this, 'SOUND_RESUME'));
237237
},
238+
/**
239+
* Stops all the sounds in the game.
240+
*
241+
* @method Phaser.Sound.BaseSoundManager#stopAll
242+
*/
238243
stopAll: function () {
239244
this.forEachActiveSound(function (sound) {
240245
sound.stop();

0 commit comments

Comments
 (0)