Update method called on every game step. Removes destroyed sounds and updates every active sound in the game.
name | type | description |
---|---|---|
time | number |
The current timestamp as generated by the Request Animation Frame or SetTimeout. |
delta | number |
The delta time elapsed since the last frame. |