UNPKG

behaviortree

Version:

A JavaScript implementation of Behavior Trees. They are useful for implementing AIs. For Browsers and NodeJS.

11 lines 471 B
import { Blackboard, Blueprint, MinimalBlueprint, RunConfig, RunResult } from './types'; export default class Node { _name?: string; blueprint: Blueprint; nodeType: string; constructor({ run, start, end, ...props }: MinimalBlueprint); run(blackboard: Blackboard, { introspector, rerun, registryLookUp, ...config }?: RunConfig): RunResult; get name(): string | undefined; set name(name: string | undefined); } //# sourceMappingURL=Node.d.ts.map