{
  "code": "import { ui } from \"../ui/layaMaxUI\";\r\nimport { ViewManager, ViewType } from \"./ViewManager\";\r\nimport { DispatcherManager, StageState } from \"../GameUtils/EventManager\";\r\nexport class HomeView extends ui.HomeViewUI {\r\n    constructor() {\r\n        super();\r\n        HomeView.ins = this;\r\n    }\r\n    static get Instance() {\r\n        if (HomeView.ins == null) {\r\n            return new HomeView();\r\n        }\r\n        return HomeView.ins;\r\n    }\r\n    OnShow() {\r\n        console.log(\"主界面\");\r\n        this.RegButton();\r\n    }\r\n    RegButton() {\r\n        this.StartBtn.clickHandler = new Laya.Handler(this, this.Start);\r\n    }\r\n    Start() {\r\n        ViewManager.Instance.ShowView(ViewType.InGameView);\r\n        DispatcherManager.StageTrigger(StageState.Start);\r\n    }\r\n    OnHide() {\r\n    }\r\n}\r\n//# sourceMappingURL=HomeView.js.map",
  "references": [
    "E:/LayaProject/RubikCube/src/ui/layaMaxUI.ts",
    "E:/LayaProject/RubikCube/src/View/ViewManager.ts",
    "E:/LayaProject/RubikCube/src/GameUtils/EventManager.ts"
  ],
  "map": "{\"version\":3,\"file\":\"HomeView.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/View/HomeView.ts\"],\"names\":[],\"mappings\":\"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC1E,MAAM,OAAO,QAAS,SAAQ,EAAE,CAAC,UAAU;IAEvC;QACI,KAAK,EAAE,CAAC;QACR,QAAQ,CAAC,GAAG,GAAG,IAAI,CAAC;IACxB,CAAC;IACM,MAAM,KAAK,QAAQ;QACtB,IAAG,QAAQ,CAAC,GAAG,IAAI,IAAI,EAAC;YACpB,OAAO,IAAI,QAAQ,EAAE,CAAC;SACzB;QACD,OAAO,QAAQ,CAAC,GAAG,CAAC;IACxB,CAAC;IACD,MAAM;QACF,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnB,IAAI,CAAC,SAAS,EAAE,CAAC;IACrB,CAAC;IACD,SAAS;QACL,IAAI,CAAC,QAAQ,CAAC,YAAY,GAAG,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,EAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACnE,CAAC;IACD,KAAK;QACD,WAAW,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;QACnD,iBAAiB,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IACrD,CAAC;IACD,MAAM;IAEN,CAAC;CACJ\"}"
}
