new UpdateList(scene)
Parameters:
Name | Type | Description |
---|---|---|
scene |
Phaser.Scene | The Scene that the Update List belongs to. |
- Since: 3.0.0
- Source: src/gameobjects/UpdateList.js (Line 12)
Extends
Members
-
scene :Phaser.Scene
-
The Scene that the Update List belongs to.
Type:
- Since: 3.0.0
- Source: src/gameobjects/UpdateList.js (Line 41)
-
systems :Phaser.Scenes.Systems
-
The Scene's Systems.
Type:
- Since: 3.0.0
- Source: src/gameobjects/UpdateList.js (Line 50)
Methods
-
destroy()
-
The Scene that owns this plugin is being destroyed.
We need to shutdown and then kill off all external references.
- Since: 3.0.0
- Source: src/gameobjects/UpdateList.js (Line 207)
-
sceneUpdate(time, delta)
-
The update step.
Pre-updates every active Game Object in the list.
Parameters:
Name Type Description time
number The current timestamp.
delta
number The delta time elapsed since the last frame.
- Since: 3.20.0
- Source: src/gameobjects/UpdateList.js (Line 134)
-
shutdown()
-
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.
- Since: 3.0.0
- Source: src/gameobjects/UpdateList.js (Line 161)