mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Dispatching event when calling play method
This commit is contained in:
parent
a664714c12
commit
17985a0147
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ var WebAudioSound = new Class({
|
|||
// \/\/\/ isPlaying = true, isPaused = false \/\/\/
|
||||
this.stopAndRemoveBufferSource();
|
||||
this.createAndStartBufferSource();
|
||||
this.events.dispatch(new SoundEvent(this, 'SOUND_PLAY'));
|
||||
return this;
|
||||
},
|
||||
pause: function () {
|
||||
|
|
Loading…
Add table
Reference in a new issue