mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
Added destroy method docs
This commit is contained in:
parent
32a2bcbf85
commit
4d5720d094
1 changed files with 6 additions and 0 deletions
|
@ -338,6 +338,12 @@ var HTML5AudioSound = new Class({
|
|||
}
|
||||
this.previousTime = currentTime;
|
||||
},
|
||||
/**
|
||||
* Calls Phaser.Sound.BaseSound#destroy method
|
||||
* and cleans up all HTML5 Audio related stuff.
|
||||
*
|
||||
* @method Phaser.Sound.HTML5AudioSound#destroy
|
||||
*/
|
||||
destroy: function () {
|
||||
BaseSound.prototype.destroy.call(this);
|
||||
this.tags = null;
|
||||
|
|
Loading…
Add table
Reference in a new issue