Class: Scene
scene.Scene
Represents a game scene.
Constructors
constructor
โข new Scene(world?
, physics?
)
Creates a Scene.
Parameters
Name | Type | Description |
---|---|---|
world | World | The scene's game world |
physics | Physics | The scene's physics world |
Defined in
src/scene.ts:25
Properties
physics
โข physics: Physics
The scene's physics world
Defined in
src/scene.ts:17
world
โข world: World
The scene's game world
Defined in
src/scene.ts:12