Skip to content

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.

Parameter Type
world World
__namedParameters SpawnGroundOptions

object

Name Type
clock Entity
ground Entity
remove() () => void