{
  "code": "import { ui } from \"../ui/layaMaxUI\";\r\nimport { GameTools } from \"../Tool/GameTools\";\r\nexport default class InGameView extends ui.InGameSceneUI {\r\n    constructor() {\r\n        super();\r\n        Laya.stage.addChild(this);\r\n    }\r\n    Show() {\r\n        Laya.timer.once(200, this, () => {\r\n            this.SkillRefresh();\r\n        });\r\n        this.SkillAnimation();\r\n        this.arrowbtn.clickHandler = new Laya.Handler(this, this.ClickArrow);\r\n        this.zhunxin1btn.clickHandler = new Laya.Handler(this, this.ClickZhunXin1);\r\n        this.zhunxin2btn.clickHandler = new Laya.Handler(this, this.ClickZhunXin2);\r\n        this.doublebtn.clickHandler = new Laya.Handler(this, this.ClickDouble);\r\n        this.hammerbtn.clickHandler = new Laya.Handler(this, this.ClickHammer);\r\n        this.height = Laya.stage.height;\r\n        Laya.stage.on(Laya.Event.RESIZE, this, () => {\r\n            this.height = Laya.stage.height;\r\n        });\r\n    }\r\n    SkillRefresh() {\r\n        this.ani1.play(null, false);\r\n        this.ani2.play(null, false);\r\n        this.ani3.play(null, false);\r\n        this.ani4.play(null, false);\r\n        this.ani5.play(null, false);\r\n    }\r\n    SkillAnimation() {\r\n        Laya.timer.frameLoop(500, this, () => {\r\n            let random = GameTools.RandomANumber(1, 6);\r\n            switch (random) {\r\n                case 1:\r\n                    this.ani1.play(null, false);\r\n                    break;\r\n                case 2:\r\n                    this.ani2.play(null, false);\r\n                    break;\r\n                case 3:\r\n                    this.ani3.play(null, false);\r\n                    break;\r\n                case 4:\r\n                    this.ani4.play(null, false);\r\n                    break;\r\n                case 5:\r\n                    this.ani5.play(null, false);\r\n                    break;\r\n            }\r\n        });\r\n    }\r\n    ClickArrow() {\r\n        let num = this.arrowbtn.getChildByName(\"num\");\r\n        if (Number(num.text) > 0) {\r\n        }\r\n    }\r\n    ClickDouble() {\r\n        let num = this.doublebtn.getChildByName(\"num\");\r\n        if (Number(num.text) > 0) {\r\n        }\r\n    }\r\n    ClickZhunXin1() {\r\n        let num = this.zhunxin1btn.getChildByName(\"num\");\r\n        if (Number(num.text) > 0) {\r\n        }\r\n    }\r\n    ClickZhunXin2() {\r\n        let num = this.zhunxin2btn.getChildByName(\"num\");\r\n        if (Number(num.text) > 0) {\r\n        }\r\n    }\r\n    ClickHammer() {\r\n        let num = this.hammerbtn.getChildByName(\"num\");\r\n        if (Number(num.text) > 0) {\r\n        }\r\n    }\r\n    Close() {\r\n    }\r\n}\r\n//# sourceMappingURL=InGameView.js.map",
  "references": [
    "D:/LayaProject/BlastToMerge/src/ui/layaMaxUI.ts",
    "D:/LayaProject/BlastToMerge/src/Tool/GameTools.ts",
    "D:/LayaProject/BlastToMerge/src/View/ViewManager.ts"
  ],
  "map": "{\"version\":3,\"file\":\"InGameView.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/View/InGameView.ts\"],\"names\":[],\"mappings\":\"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,EAAE,CAAC,aAAa;IACpD;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;IACD,IAAI;QACA,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAC,IAAI,EAAC,GAAE,EAAE;YACzB,IAAI,CAAC,YAAY,EAAE,CAAC;QACxB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,cAAc,EAAE,CAAC;QACtB,IAAI,CAAC,QAAQ,CAAC,YAAY,GAAG,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,EAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACpE,IAAI,CAAC,WAAW,CAAC,YAAY,GAAG,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC1E,IAAI,CAAC,WAAW,CAA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