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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
__namedParameters |
HeadlessGameOptions |
Returns
Section titled “Returns”Promise<HeadlessGame>