"use strict"; cc._RF.push(module, 'b583ee2TStMx5anwMI6aTGV', 'PopOutPanelViewMediator'); // Script/view/popView/PopOutPanelViewMediator.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 PopOutPanelViewMediator = /** @class */ (function (_super) { __extends(PopOutPanelViewMediator, _super); function PopOutPanelViewMediator() { return _super !== null && _super.apply(this, arguments) || this; } PopOutPanelViewMediator.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); }; PopOutPanelViewMediator.prototype.viewDidAppear = function () { }; PopOutPanelViewMediator.prototype.destroy = function () { }; return PopOutPanelViewMediator; }(BaseMediator_1.default)); exports.default = PopOutPanelViewMediator; cc._RF.pop();