We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1de4078 commit 6b92e34Copy full SHA for 6b92e34
1 file changed
src/sound/webaudio/WebAudioSound.js
@@ -134,6 +134,10 @@ var WebAudioSound = new Class({
134
// \/\/\/ isPlaying = true, isPaused = false \/\/\/
135
this.stopAndRemoveBufferSource();
136
this.createAndStartBufferSource();
137
+ /**
138
+ * @event Phaser.Sound.WebAudioSound#play
139
+ * @param {Phaser.Sound.WebAudioSound} sound - Reference to the sound that emitted event.
140
+ */
141
this.emit('play', this);
142
return true;
143
},
0 commit comments