0.0.6 • Published 2 years ago

the-world-engine-react v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

the-world-engine-react

the world engine react component

npm

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}
        />
    );
}
0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago