"use strict"; cc._RF.push(module, '592e8t2EUJAVIJHTBd1fCe7', 'ChooseSkinPanelMediator'); // Script/view/chooseSkin/ChooseSkinPanelMediator.ts "use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var BaseMediator_1 = require("../../../lightMVC/core/base/BaseMediator"); var ChooseSkinPanelMediator = /** @class */ (function (_super) { __extends(ChooseSkinPanelMediator, _super); function ChooseSkinPanelMediator() { return _super !== null && _super.apply(this, arguments) || this; } ChooseSkinPanelMediator.prototype.init = function (data) { console.log(data + "跳转。。。"); this.view.drawView(); // let playerModel = this.getModel(PlayerModel); // this.view.setLevelDisplay(playerModel.getPlayerLv()); // // 监听修改经验事件 // this.bindEvent(PopAView.UPDATE_LEVEL, (exp)=>{ // this.sendCmd(UpdateExpCommand, exp); // }, this); // this.registerNoti(Notification.UPDATE_EXP_FINISH, ()=>{ // this.view.setLevelDisplay(playerModel.getPlayerLv()); // }, this); }; ChooseSkinPanelMediator.prototype.viewDidAppear = function () { }; ChooseSkinPanelMediator.prototype.destroy = function () { }; return ChooseSkinPanelMediator; }(BaseMediator_1.default)); exports.default = ChooseSkinPanelMediator; cc._RF.pop();