- Source: src/scene/index.js (Line 10)
Classes
Namespaces
Members
-
<static, readonly> CREATING :number
-
Scene state.
Type:
- number
- Since: 3.0.0
- Source: src/scene/const.js (Line 55)
-
<static, readonly> DESTROYED :number
-
Scene state.
Type:
- number
- Since: 3.0.0
- Source: src/scene/const.js (Line 105)
-
<static, readonly> INIT :number
-
Scene state.
Type:
- number
- Since: 3.0.0
- Source: src/scene/const.js (Line 25)
-
<static, readonly> LOADING :number
-
Scene state.
Type:
- number
- Since: 3.0.0
- Source: src/scene/const.js (Line 45)
-
<static, readonly> PAUSED :number
-
Scene state.
Type:
- number
- Since: 3.0.0
- Source: src/scene/const.js (Line 75)
-
<static, readonly> PENDING :number
-
Scene state.
Type:
- number
- Since: 3.0.0
- Source: src/scene/const.js (Line 15)
-
<static, readonly> RUNNING :number
-
Scene state.
Type:
- number
- Since: 3.0.0
- Source: src/scene/const.js (Line 65)
-
<static, readonly> SHUTDOWN :number
-
Scene state.
Type:
- number
- Since: 3.0.0
- Source: src/scene/const.js (Line 95)
-
<static, readonly> SLEEPING :number
-
Scene state.
Type:
- number
- Since: 3.0.0
- Source: src/scene/const.js (Line 85)
-
<static, readonly> START :number
-
Scene state.
Type:
- number
- Since: 3.0.0
- Source: src/scene/const.js (Line 35)
Methods
-
<static> GetPhysicsPlugins(sys)
-
Builds an array of which physics plugins should be activated for the given Scene.
Parameters:
Name Type Description sys
Phaser.Scenes.Systems The scene system to get the physics systems of.
- Since: 3.0.0
- Source: src/scene/GetPhysicsPlugins.js (Line 10)
Returns:
An array of Physics systems to start for this Scene.
- Type
- array
-
<static> GetScenePlugins(sys)
-
Builds an array of which plugins (not including physics plugins) should be activated for the given Scene.
Parameters:
Name Type Description sys
Phaser.Scenes.Systems The Scene Systems object to check for plugins.
- Since: 3.0.0
- Source: src/scene/GetScenePlugins.js (Line 9)
Returns:
An array of all plugins which should be activated, either the default ones or the ones configured in the Scene Systems object.
- Type
- array