A single game step. Called automatically by the Scene Manager as a result of a Request Animation Frame or Set Timeout call to the main Game instance.
name | type | description |
---|---|---|
time | number |
The time value from the most recent Game step. Typically a high-resolution timer value, or Date.now(). |
delta | number |
The delta value since the last frame. This is smoothed to avoid delta spikes by the TimeStep class. |