Added stop event docs

This commit is contained in:
Pavle Goloskokovic 2018-01-26 15:05:14 +01:00
parent e874c64fe4
commit 7945ebaec8

View file

@ -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;
},