Interface: EngineFeature
Optional features (Engine/EngineFeature.ts): pass the ones a build uses as EngineOptions.features.
Properties
Methods
Install()
ts
Install(engine, options): Partial<Record<FeatureSlot, ISystem[]>>;The feature's systems by slot. Called once, from the Engine's constructor.
Parameters
| Parameter | Type |
|---|---|
engine | Engine |
options | EngineOptions |
Returns
Partial<Record<FeatureSlot, ISystem[]>>