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.
For example, instead of exposing Renderer, maybe we can do this:
Possibly, we can just pass in the container to a function and it would return an object containing everything needed.