{
  "code": "export class DispatcherManager {\r\n    static get Disispatcher() {\r\n        return DispatcherManager.disispatcher || (DispatcherManager.disispatcher = new Laya.EventDispatcher());\r\n    }\r\n    static on(type, call, data) {\r\n        this.Disispatcher.on(type, call, data);\r\n    }\r\n    static off(type, call, data) {\r\n        this.Disispatcher.off(type, call, data);\r\n    }\r\n    static event(type, data = null) {\r\n        this.Disispatcher.event(type, data);\r\n    }\r\n}\r\nexport class EventType {\r\n    loadUI() {\r\n        Laya.loader.load([\"res/threeDimen/ui/button.png\"], Laya.Handler.create(this, function () {\r\n            var changeActionButton = Laya.stage.addChild(new Laya.Button(\"res/threeDimen/ui/button.png\", \"正常模式\"));\r\n            changeActionButton.size(160, 40);\r\n            changeActionButton.labelBold = true;\r\n            changeActionButton.labelSize = 30;\r\n            changeActionButton.sizeGrid = \"4,4,4,4\";\r\n            changeActionButton.scale(Laya.Browser.pixelRatio, Laya.Browser.pixelRatio);\r\n            changeActionButton.pos(Laya.stage.width / 2 - changeActionButton.width * Laya.Browser.pixelRatio / 2, Laya.stage.height - 100 * Laya.Browser.pixelRatio);\r\n            changeActionButton.on(Laya.Event.CLICK, this, function () {\r\n                if (++this.curStateIndex % 2 == 1) {\r\n                    this.sprite3D.active = false;\r\n                    this.lineSprite3D.active = true;\r\n                    changeActionButton.label = \"网格模式\";\r\n                }\r\n                else {\r\n                    this.sprite3D.active = true;\r\n                    this.lineSprite3D.active = false;\r\n                    changeActionButton.label = \"正常模式\";\r\n                }\r\n            });\r\n        }));\r\n    }\r\n}\r\nEventType.Event = {\r\n    CamFollowArg: \"CamFollowArg\",\r\n    SetAimPos: \"SetAimPos\",\r\n    RefreshBulletCount: \"RefreshBulletCount\",\r\n    RefreshRemainEnemyCount: \"RefreshRemainEnemyCount\",\r\n    GameShowTips: \"GameShowTips\",\r\n    StartShot: 'StartShot',\r\n    StopShot: 'StopShot',\r\n    ShowMainUi: \"ShowMainUi\",\r\n    SetMonery: \"SetMonery\",\r\n    SetStage: \"SetStage\",\r\n    SetStagePro: \"SetStagePro\"\r\n};\r\n//# sourceMappingURL=DispatcherManager.js.map",
  "references": [],
  "map": "{\"version\":3,\"file\":\"DispatcherManager.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/Game/DispatcherManager.ts\"],\"names\":[],\"mappings\":\"AAAA,MAAM,OAAO,iBAAiB;IAElB,MAAM,KAAK,YAAY;QAC3B,OAAO,iBAAiB,CAAC,YAAY,IAAI,CAAC,iBAAiB,CAAC,YAAY,GAAG,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC;IAC3G,CAAC;IAEM,MAAM,CAAC,EAAE,CAAC,IAAY,EAAE,IAAS,EAAE,IAAS;QAC/C,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC3C,CAAC;IACM,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,IAAS,EAAE,IAAS;QAChD,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5C,CAAC;IACM,MAAM,CAAC,KAAK,CAAC,IAAY,EAAE,OAAY,IAAI;QAC9C,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACxC,CAAC;CACJ;AACD,MAAM,OAAO,SAAS;IAgBV,MAAM;QACV,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,8BAA8B,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE;YACzE,IAAI,kBAAkB,GAAe,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,8BAA8B,EAAE,MAAM,CAAC,CAAgB,CAAC;YACjI,kBAAkB,CAAC,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;YACjC,kBAAkB,CAAC,SAAS,GAAG,IAAI,CAAC;YACpC,kBAAkB,CAA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