Skip to content

Commit bdcca49

Browse files
Added destroy method docs
1 parent 040f189 commit bdcca49

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
@@ -277,6 +277,11 @@ var BaseSoundManager = new Class({
277277
sound.update(time, delta);
278278
});
279279
},
280+
/**
281+
* Destroys all the sounds in the game and all associated events.
282+
*
283+
* @method Phaser.Sound.BaseSoundManager#destroy
284+
*/
280285
destroy: function () {
281286
this.game = null;
282287
this.events.destroy();

0 commit comments

Comments
 (0)