Skip to content

Consider not exposing type to index.html and instead exposing functions to set up game dependencies #50

Description

@pg94au

For example, instead of exposing Renderer, maybe we can do this:

public createRenderer: (container: HTMLElement) => Renderer = (container) => { return new PixiRenderer(container) };

Possibly, we can just pass in the container to a function and it would return an object containing everything needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions