We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2fdf7c commit 18cd227Copy full SHA for 18cd227
1 file changed
src/sound/html5/HTML5AudioSound.js
@@ -254,6 +254,13 @@ var HTML5AudioSound = new Class({
254
this.startTime = 0;
255
this.previousTime = 0;
256
},
257
+ /**
258
+ * Method used internally to reset sound state, usually when stopping sound
259
+ * or when hijacking audio tag from another sound.
260
+ *
261
+ * @private
262
+ * @method Phaser.Sound.HTML5AudioSound#reset
263
+ */
264
reset: function () {
265
BaseSound.prototype.stop.call(this);
266
0 commit comments