mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Implemented pauseAll method
This commit is contained in:
parent
13f752baca
commit
17dee3cd8d
1 changed files with 5 additions and 1 deletions
|
@ -136,7 +136,11 @@ var BaseSoundManager = new Class({
|
|||
},
|
||||
remove: NOOP,
|
||||
removeByKey: NOOP,
|
||||
pauseAll: NOOP,
|
||||
pauseAll: function () {
|
||||
this.sounds.forEach(function (sound) {
|
||||
sound.pause();
|
||||
});
|
||||
},
|
||||
resumeAll: NOOP,
|
||||
stopAll: function () {
|
||||
this.sounds.forEach(function (sound) {
|
||||
|
|
Loading…
Add table
Reference in a new issue