createHeadlessApp
此内容尚不支持你的语言。
createHeadlessApp(
module,options?):App
Defined in: runtime/webAppFactory.ts:65
An App with the full simulation stack and no presentation: no renderer, no
render pipeline, no input device, no UI. This is the authoritative-server
shape (same wasm module, same gameplay code, same fixed-tick loop) — also
useful for workers and tests. Drive it with runHeadless or
app.tick(dt).
Pre-1.0: the headless asset story (gameplay data without textures) is still settling and may change this factory’s options.
Parameters
Section titled “Parameters”module
Section titled “module”ESEngineModule