mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 00:53:42 +00:00
Implemented resumeAll method
This commit is contained in:
parent
17dee3cd8d
commit
1a38273cd8
1 changed files with 5 additions and 1 deletions
|
@ -141,7 +141,11 @@ var BaseSoundManager = new Class({
|
|||
sound.pause();
|
||||
});
|
||||
},
|
||||
resumeAll: NOOP,
|
||||
resumeAll: function () {
|
||||
this.sounds.forEach(function (sound) {
|
||||
sound.resume();
|
||||
});
|
||||
},
|
||||
stopAll: function () {
|
||||
this.sounds.forEach(function (sound) {
|
||||
sound.stop();
|
||||
|
|
Loading…
Reference in a new issue