Added destroy method docs

This commit is contained in:
Pavle Goloskokovic 2018-01-06 15:53:50 +01:00
parent 1f1aebdaf1
commit 712e95b45a

View file

@ -344,6 +344,11 @@ var BaseSound = new Class({
* @protected
*/
update: NOOP,
/**
* Destroys this sound and all associated events and marks it for removal from the sound manager.
*
* @method Phaser.Sound.BaseSound#destroy
*/
destroy: function () {
if (this.pendingRemove) {
return;