The Update List plugin.
Update Lists belong to a Scene and maintain the list Game Objects to be updated every frame.
Some or all of these Game Objects may also be part of the Scene's Display List, for Rendering.
new UpdateList(scene)
name | type | description |
---|---|---|
scene | Phaser.Scene |
The Scene that the Update List belongs to. |
The Scene that owns this plugin is being destroyed.
We need to shutdown and then kill off all external references.
The update step.
Pre-updates every active Game Object in the list.
name | type | description |
---|---|---|
time | number |
The current timestamp. |
delta | number |
The delta time elapsed since the last frame. |
The Scene that owns this plugin is shutting down.
We need to kill and reset all internal properties as well as stop listening to Scene events.