dino-ge
    Preparing search index...

    Interface EngineCallbacks

    Lifecycle and update callbacks for the engine.

    interface EngineCallbacks {
        drawUI?: (ui: ScreenUI) => void;
        fixedUpdate?: () => void;
        onDispose?: () => void;
        onLoad?: () => void;
        update?: () => void;
    }
    Index
    drawUI?: (ui: ScreenUI) => void

    Draws game-owned interface elements after the world.

    fixedUpdate?: () => void

    Optional callback for physics or fixed-step logic.

    onDispose?: () => void

    Releases game-owned resources when the engine is replaced or stopped.

    onLoad?: () => void

    Called once after the engine is initialised.

    update?: () => void

    Called every unpaused frame for game logic.