mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Added destroy method docs
This commit is contained in:
parent
1f1aebdaf1
commit
712e95b45a
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue