Skip to content

createHeadlessGame

createHeadlessGame(__namedParameters): Promise<HeadlessGame>

Defined in: packages/engine/src/gameplay/harness.ts:98

A world with the ground from the seeded map and the scene’s entities, ready to step: the physics wasm and the scatter shapes are loaded before it returns.

Parameter Type
__namedParameters HeadlessGameOptions

Promise<HeadlessGame>