Skip to content

spawnInitialEntities

spawnInitialEntities(world, initial): () => void

Defined in: packages/engine/src/gameplay/world/spawn.ts:57

Parameter Type
world World
initial { facing: number; health: { current: number; maximum: number; }; position: Vector3; }
initial.facing number
initial.health { current: number; maximum: number; }
initial.health.current number
initial.health.maximum number
initial.position Vector3

() => void