123456789101112131415161718192021222324 |
- var t = require;
- var e = module;
- var i = exports;
- Object.defineProperty(i, "__esModule", {value: !0});
- const s = t("B3Tree1");
- class o extends s.BaseAction {
- open(i) {
- if (this.properties.isShow) {
- let e = [],
- t = this.properties.pos.split("|");
- t &&
- t.forEach(t => {
- (t = t.split(",")), (t = new cc.Vec2(parseInt(t[0]) || 0, parseInt(t[1]) || 0));
- e.push(t);
- }),
- i.target.showMapFinger(e, this.properties.fx, this.properties.fy, this.properties.itemId);
- } else i.target.hideMapFinger();
- }
- tick(t) {
- return s.b3.SUCCESS;
- }
- close(t) {}
- }
- (i.default = o), s.register(o, "NGAShowFinger");
|