Skip to content

Commit e144505

Browse files
Added unlocked event docs
1 parent e2092df commit e144505

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/sound/BaseSoundManager.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,10 @@ var BaseSoundManager = new Class({
325325
if (this.unlocked) {
326326
this.unlocked = false;
327327
this.locked = false;
328+
/**
329+
* @event Phaser.Sound.BaseSoundManager#unlocked
330+
* @param {Phaser.Sound.BaseSoundManager} soundManager - Reference to the sound manager that emitted event.
331+
*/
328332
this.emit('unlocked', this);
329333
}
330334
for (var i = this.sounds.length - 1; i >= 0; i--) {

0 commit comments

Comments
 (0)