@warriorjs/core
v0.14.0
Published
WarriorJS core
Downloads
21
Maintainers
Readme
@warriorjs/core
WarriorJS core.
Install
npm install @warriorjs/core
Usage
const warriorjs = require('@warriorjs/core');
import { runLevel } from '@warriorjs/core');
import * as warriorjs from '@warriorjs/core';
API Reference
warriorjs.runLevel(levelConfig: Object, playerCode: string)
Runs the given level config with the given player code.
warriorjs.getLevel(levelConfig: Object)
Returns the level for the given level config.