UNPKG

blueshell

Version:

A Behavior Tree implementation in modern Javascript

15 lines 392 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Constant = void 0; const Base_1 = require("./Base"); class Constant extends Base_1.Action { constructor(result, name = result) { super(name); this.result = result; } onEvent() { return this.result; } } exports.Constant = Constant; //# sourceMappingURL=Constant.js.map