dacha
    Preparing search index...

    Interface EngineOptions

    Options for Engine.

    Index

    The asset classes the game can use. The configuration picks from them by assetName.

    components: ComponentConstructor[]

    The component classes the game can use. The configuration picks from them by componentName.

    config: Config

    The game configuration: scenes, templates, systems, assets and global options.

    resources?: Record<string, unknown>

    Extra data for systems, keyed by systemName. A system gets its entry in options.resources. For example, BehaviorSystem gets the behavior classes this way.

    The system classes the game can use. The configuration picks from them by systemName.