From 1a38273cd8768a935e312b185db6fa0fac848c88 Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Thu, 4 Jan 2018 19:32:10 +0100 Subject: [PATCH] Implemented resumeAll method --- v3/src/sound/BaseSoundManager.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/v3/src/sound/BaseSoundManager.js b/v3/src/sound/BaseSoundManager.js index 7ad7e931e..8e07de10e 100644 --- a/v3/src/sound/BaseSoundManager.js +++ b/v3/src/sound/BaseSoundManager.js @@ -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();