12345 |
- {
- "code": "export class EventManager {\r\n static get Disispatcher() {\r\n return EventManager.disispatcher || (EventManager.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}\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};\r\n",
- "references": []
- }
|