mirror of
https://github.com/photonstorm/phaser
synced 2024-12-04 18:40:59 +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()) {
|
if (!this.pickAndPlayAudioTag()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @event Phaser.Sound.HTML5AudioSound#play
|
||||||
|
* @param {Phaser.Sound.HTML5AudioSound} sound - Reference to the sound that emitted event.
|
||||||
|
*/
|
||||||
this.emit('play', this);
|
this.emit('play', this);
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue