Skip to content

Commit f0c8022

Browse files
Added looped event docs
1 parent 3581b0b commit f0c8022

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/sound/webaudio/WebAudioSound.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,10 @@ var WebAudioSound = new Class({
339339
rate: this.totalRate
340340
});
341341
this.createAndStartLoopBufferSource();
342+
/**
343+
* @event Phaser.Sound.WebAudioSound#looped
344+
* @param {Phaser.Sound.WebAudioSound} sound - Reference to the sound that emitted event.
345+
*/
342346
this.emit('looped', this);
343347
}
344348
},

0 commit comments

Comments
 (0)