Implemented pauseAll method

This commit is contained in:
Pavle Goloskokovic 2018-01-04 19:30:29 +01:00
parent 13f752baca
commit 17dee3cd8d

View file

@ -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) {