the-world-engine-react
v0.0.6
Published
the world engine react component
Downloads
2
Readme
the-world-engine-react
the world engine react component
build
usage
for install,
npm i the-world-engine-react
for use,
import { Game } from 'the-world-engine-react';
import { Bootstrapper as BaseBootstrapper } from "the-world-engine";
class Bootstrapper extends BaseBootstrapper {
public override run(): SceneBuilder {
return this.sceneBuilder;
}
}
function App(): JSX.Element {
return (
<Game
bootstrapper={Bootstrapper}
handleEvents={true}
autoResize={true}
/>
);
}