Phaser API Documentation

  Version: 
<protected> update(time, delta)

Description:

The main update loop. Called automatically when the Scene steps.

Parameters:

name type description
time number

The current timestamp as generated by the Request Animation Frame or SetTimeout.

delta number

The delta time, in ms, elapsed since the last frame.

Since: 3.0.0