the-world-engine-react
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

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

Dependencies (0)

    Dev Dependencies (10)

    Package Sidebar

    Install

    npm i the-world-engine-react

    Weekly Downloads

    2

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    16.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • noname0310