var t = require; var e = module; var i = exports; Object.defineProperty(i, "__esModule", {value: !0}); const s = t("constants"), o = t("Composite"); i.default = class extends o.default { constructor({children: t = []} = {}) { super({name: "MemSequence", children: t}); } open(t) { t.blackboard.set("runningChild", 0, t.tree.id, this.id); } tick(e) { for (let t = e.blackboard.get("runningChild", e.tree.id, this.id); t < this.children.length; t++) { var i = this.children[t]._execute(e); if (i !== s.SUCCESS) return i === s.RUNNING && e.blackboard.set("runningChild", t, e.tree.id, this.id), i; } return s.SUCCESS; } };