Implemented resumeAll method

This commit is contained in:
Pavle Goloskokovic 2018-01-04 19:32:10 +01:00
parent 17dee3cd8d
commit 1a38273cd8

View file

@ -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();