b583e7b6-4d2b-4cc7-96a7-c0c23a693195.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. "use strict";
  2. cc._RF.push(module, 'b583ee2TStMx5anwMI6aTGV', 'PopOutPanelViewMediator');
  3. // Script/view/popView/PopOutPanelViewMediator.ts
  4. "use strict";
  5. var __extends = (this && this.__extends) || (function () {
  6. var extendStatics = function (d, b) {
  7. extendStatics = Object.setPrototypeOf ||
  8. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  9. function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
  10. return extendStatics(d, b);
  11. };
  12. return function (d, b) {
  13. extendStatics(d, b);
  14. function __() { this.constructor = d; }
  15. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  16. };
  17. })();
  18. Object.defineProperty(exports, "__esModule", { value: true });
  19. var BaseMediator_1 = require("../../../lightMVC/core/base/BaseMediator");
  20. var PopOutPanelViewMediator = /** @class */ (function (_super) {
  21. __extends(PopOutPanelViewMediator, _super);
  22. function PopOutPanelViewMediator() {
  23. return _super !== null && _super.apply(this, arguments) || this;
  24. }
  25. PopOutPanelViewMediator.prototype.init = function (data) {
  26. console.log(data + "跳转。。。");
  27. this.view.drawView();
  28. //let playerModel = this.getModel(PlayerModel);
  29. // this.view.setLevelDisplay(playerModel.getPlayerLv());
  30. // // 监听修改经验事件
  31. // this.bindEvent(PopAView.UPDATE_LEVEL, (exp)=>{
  32. // this.sendCmd(UpdateExpCommand, exp);
  33. // }, this);
  34. // this.registerNoti(Notification.UPDATE_EXP_FINISH, ()=>{
  35. // this.view.setLevelDisplay(playerModel.getPlayerLv());
  36. // }, this);
  37. };
  38. PopOutPanelViewMediator.prototype.viewDidAppear = function () {
  39. };
  40. PopOutPanelViewMediator.prototype.destroy = function () {
  41. };
  42. return PopOutPanelViewMediator;
  43. }(BaseMediator_1.default));
  44. exports.default = PopOutPanelViewMediator;
  45. cc._RF.pop();