mirror of
https://github.com/photonstorm/phaser
synced 2024-12-03 09:59:42 +00:00
Added play event docs
This commit is contained in:
parent
0a1e4abd9f
commit
9b4930ea47
1 changed files with 4 additions and 0 deletions
|
@ -81,6 +81,10 @@ var HTML5AudioSound = new Class({
|
|||
if (!this.pickAndPlayAudioTag()) {
|
||||
return false;
|
||||
}
|
||||
/**
|
||||
* @event Phaser.Sound.HTML5AudioSound#play
|
||||
* @param {Phaser.Sound.HTML5AudioSound} sound - Reference to the sound that emitted event.
|
||||
*/
|
||||
this.emit('play', this);
|
||||
return true;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue