@studiokeywi/banjo - v0.0.1
    Preparing search index...

    Module engine

    The core "game engine" in terms of responsibility. Features an emitter that can be used across game concerns, a loop that executes provided code, and an input/keyboard handler

    studioKeywi

    Classes

    EnginePaused

    Utility wrapper around CustomEvent<{ state: boolean; time: number }> for used for instanceof level of Event matching if needed

    EngineStarted

    Utility wrapper around CustomEvent<number> for used for instanceof level of Event matching if needed

    EngineStopped

    Utility wrapper around CustomEvent<number> for used for instanceof level of Event matching if needed

    RenderRan

    Utility wrapper around CustomEvent<void> for used for instanceof level of Event matching if needed

    SkippedFrames

    Utility wrapper around CustomEvent<number> for used for instanceof level of Event matching if needed

    UpdateRan

    Utility wrapper around CustomEvent<void> for used for instanceof level of Event matching if needed

    Interfaces

    Engine

    Game engine providing only the basics of a game loop and event dispatching system

    EngineConfig

    Information for the engine to utilize

    EngineEvents

    Events emitted by the engine

    Type Aliases

    CombinedEvents

    TODO: JSDocs

    Functions

    createEngine

    Create a new Engine for use. The provided config will determine the TPS rate for the engine, and the FPS rate will attempt to match the user's monitor refresh rate