Added resume event docs

This commit is contained in:
Pavle Goloskokovic 2018-01-26 15:04:53 +01:00
parent ed27878b78
commit e874c64fe4

View file

@ -179,6 +179,10 @@ var WebAudioSound = new Class({
}
// \/\/\/ isPlaying = true, isPaused = false \/\/\/
this.createAndStartBufferSource();
/**
* @event Phaser.Sound.WebAudioSound#resume
* @param {Phaser.Sound.WebAudioSound} sound - Reference to the sound that emitted event.
*/
this.emit('resume', this);
return true;
},