UNPKG

mistreevous

Version:

A library to declaratively define, build and execute behaviour trees, written in TypeScript for Node and browsers

8 lines (7 loc) 338 B
import { RootNodeDefinition } from "../BehaviourTreeDefinition"; /** * Convert the MDSL tree definition string into an equivalent JSON definition. * @param definition The tree definition string as MDSL. * @returns The root node JSON definitions. */ export declare function convertMDSLToJSON(definition: string): RootNodeDefinition[];