mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Added stop event docs
This commit is contained in:
parent
e874c64fe4
commit
7945ebaec8
1 changed files with 4 additions and 0 deletions
|
@ -198,6 +198,10 @@ var WebAudioSound = new Class({
|
|||
}
|
||||
// \/\/\/ isPlaying = false, isPaused = false \/\/\/
|
||||
this.stopAndRemoveBufferSource();
|
||||
/**
|
||||
* @event Phaser.Sound.WebAudioSound#stop
|
||||
* @param {Phaser.Sound.WebAudioSound} sound - Reference to the sound that emitted event.
|
||||
*/
|
||||
this.emit('stop', this);
|
||||
return true;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue