Added TODO for handling removed or destroyed sounds

This commit is contained in:
Pavle Goloskokovic 2017-12-10 13:18:03 +01:00
parent c9868d5408
commit 429d86ba31

View file

@ -141,6 +141,7 @@ var BaseSoundManager = new Class({
* @param {number} delta - The delta time elapsed since the last frame. * @param {number} delta - The delta time elapsed since the last frame.
*/ */
update: function (time, delta) { update: function (time, delta) {
// TODO remove pending sounds
this.sounds.forEach(function (sound) { this.sounds.forEach(function (sound) {
sound.update(time, delta); sound.update(time, delta);
}); });