Phaser API Documentation

  Version: 
<protected> update(time, delta)

Description:

Update method called on every game step. Removes destroyed sounds and updates every active sound in the game.

Parameters:

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