Phaser API Documentation

<protected> update(time, delta)


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.

Since: 3.0.0