123456789 |
- {
- "code": "import { ui } from \"../ui/layaMaxUI\";\r\nimport { EventManager } from \"../GameLogic/EventManager\";\r\nexport default class GameUi extends ui.GameUiUI {\r\n static get Instance() {\r\n return GameUi.instance;\r\n }\r\n constructor() {\r\n super();\r\n GameUi.instance = this;\r\n this.resizeHander();\r\n EventManager.on(Laya.Event.RESIZE, this, this.resizeHander);\r\n }\r\n OnShow(data) {\r\n this.InitDate();\r\n this.InitHandler();\r\n this.InitUi();\r\n }\r\n resizeHander() {\r\n this.height = Laya.stage.height;\r\n }\r\n InitDate() {\r\n }\r\n InitHandler() {\r\n }\r\n InitUi() {\r\n }\r\n OnClose() {\r\n EventManager.off(Laya.Event.RESIZE, this, this.resizeHander);\r\n GameUi.instance = null;\r\n Laya.timer.clearAll(this);\r\n }\r\n}\r\n//# sourceMappingURL=GameUi.js.map",
- "references": [
- "D:/GitProject/GunGang/gungang_laya/gungang/src/ui/layaMaxUI.ts",
- "D:/GitProject/GunGang/gungang_laya/gungang/src/GameLogic/EventManager.ts"
- ],
- "map": "{\"version\":3,\"file\":\"GameUi.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/Window/GameUi.ts\"],\"names\":[],\"mappings\":\"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,EAAE,CAAC,QAAQ;IAE3C,MAAM,KAAK,QAAQ;QACf,OAAO,MAAM,CAAC,QAAQ,CAAC;IAC3B,CAAC;IACD;QACI,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC,YAAY,EAAE,CAAC;QACpB,YAAY,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IAChE,CAAC;IACD,MAAM,CAAC,IAAU;QAEb,IAAI,CAAC,QAAQ,EAAE,CAAC;QAChB,IAAI,CAAC,WAAW,EAAE,CAAC;QACnB,IAAI,CAAC,MAAM,EAAE,CAAC;IAElB,CAAC;IACD,YAAY;QACR,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;IACpC,CAAC;IAGD,QAAQ;IAER,CAAC;IAED,WAAW;IAEX,CAAC;IAED,MAAM;IAEN,CAAC;IAMD,OAAO;QACH,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;QAC7D,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE9B,CAAC;CACJ\"}"
- }
|