mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Added TODO for handling removed or destroyed sounds
This commit is contained in:
parent
c9868d5408
commit
429d86ba31
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue