var t = require; var e = module; var i = exports; e = (this && this.__decorate) || function (t, e, i, s) { var o, a = arguments.length, n = a < 3 ? e : null === s ? (s = Object.getOwnPropertyDescriptor(e, i)) : s; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) n = Reflect.decorate(t, e, i, s); else for (var r = t.length - 1; 0 <= r; r--) (o = t[r]) && (n = (a < 3 ? o(n) : 3 < a ? o(e, i, n) : o(e, i)) || n); return 3 < a && n && Object.defineProperty(e, i, n), n; }; Object.defineProperty(i, "__esModule", {value: !0}); const s = t("App"), o = t("GlobalAttr"), a = t("BaseMan"), {ccclass: n, property: r} = cc._decorator; t = class extends a.default { constructor() { super(...arguments), (this.posData = null), (this.carPosData = null), (this.isEixt = !1), (this.isReadyReceive = !1), (this.orders = []), (this.orderNode = null); } start() { super.start(), this.calSpeed(), this.sp.setSkin(s.default.RandomUtils.randomArray(["cat_yellow", "cat_blue"])); } calSpeed() { this.moveSpeed = o.default.ins.customerMoveSpeed; } sitDown() { (this.state = a.CharactorState.sitdown), (this.direction = this.posData.sit.direction); } exit(t) { this.orders.remove(t), 0 === this.orders.length && ((this.state = a.CharactorState.stand), (this.isEixt = !0)); } destroySelf() { this.node.destroy(); } }; e([r(cc.Node)], t.prototype, "orderNode", void 0), (t = e([n], t)), (i.default = t);