var t = require; var e = module; var i = exports; Object.defineProperty(i, "__esModule", {value: !0}); const s = t("constants"), o = t("Action"); i.default = class extends o.default { constructor(t = 0) { super({name: "Wait", title: "Wait ms", properties: {milliseconds: 0}}), (this.endTime = t); } open(t) { var e = new Date().getTime(); t.blackboard.set("startTime", e, t.tree.id, this.id); } tick(t) { return new Date().getTime() - t.blackboard.get("startTime", t.tree.id, this.id) > this.endTime ? s.SUCCESS : s.RUNNING; } };