spawnGround
spawnGround(
world,__namedParameters?):object
Defined in: packages/engine/src/gameplay/world/spawn.ts:26
The ground and the clock, from one map: what a game, a World and a headless run all stand on. The return is the ground, its clock, and what takes both away.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
__namedParameters |
SpawnGroundOptions |
Returns
Section titled “Returns”object
| Name | Type |
|---|---|
clock |
Entity |
ground |
Entity |
remove() |
() => void |