Skip to content

Commit 712e95b

Browse files
Added destroy method docs
1 parent 1f1aebd commit 712e95b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

v3/src/sound/BaseSound.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,11 @@ var BaseSound = new Class({
344344
* @protected
345345
*/
346346
update: NOOP,
347+
/**
348+
* Destroys this sound and all associated events and marks it for removal from the sound manager.
349+
*
350+
* @method Phaser.Sound.BaseSound#destroy
351+
*/
347352
destroy: function () {
348353
if (this.pendingRemove) {
349354
return;

0 commit comments

Comments
 (0)