{
  "code": "export var PropEffecf;\r\n(function (PropEffecf) {\r\n    PropEffecf[PropEffecf[\"NONE\"] = 0] = \"NONE\";\r\n    PropEffecf[PropEffecf[\"DOUBLE\"] = 1] = \"DOUBLE\";\r\n    PropEffecf[PropEffecf[\"HAMMER\"] = 2] = \"HAMMER\";\r\n    PropEffecf[PropEffecf[\"UP\"] = 3] = \"UP\";\r\n    PropEffecf[PropEffecf[\"CLEARLAST\"] = 4] = \"CLEARLAST\";\r\n    PropEffecf[PropEffecf[\"CLEARTWO\"] = 5] = \"CLEARTWO\";\r\n})(PropEffecf || (PropEffecf = {}));\r\nexport var StageMode;\r\n(function (StageMode) {\r\n    StageMode[StageMode[\"Start\"] = 0] = \"Start\";\r\n    StageMode[StageMode[\"Lose\"] = 1] = \"Lose\";\r\n    StageMode[StageMode[\"Win\"] = 2] = \"Win\";\r\n})(StageMode || (StageMode = {}));\r\n;\r\nexport class EventManager {\r\n    static EventOn(_mode, caller, fun, args = []) {\r\n        EventManager.Instance.on(PropEffecf[_mode], caller, fun, args);\r\n    }\r\n    static EventOff(_mode, caller, fun, args = []) {\r\n        EventManager.Instance.off(PropEffecf[_mode], caller, fun);\r\n    }\r\n    static EventTrigger(_mode, args = []) {\r\n        EventManager.Instance.event(PropEffecf[_mode], args);\r\n        EventManager.PropState = _mode;\r\n    }\r\n    static StageOn(_mode, caller, fun, args = []) {\r\n        EventManager.Instance.on(StageMode[_mode], caller, fun, args);\r\n    }\r\n    static StageOff(_mode, caller, fun, args = []) {\r\n        EventManager.Instance.off(StageMode[_mode], caller, fun);\r\n    }\r\n    static StageTrigger(_mode, args = []) {\r\n        EventManager.Instance.event(StageMode[_mode], args);\r\n    }\r\n}\r\nEventManager.Instance = new Laya.EventDispatcher();\r\nEventManager.PropState = PropEffecf.NONE;\r\n//# sourceMappingURL=EventManager.js.map",
  "references": [],
  "map": "{\"version\":3,\"file\":\"EventManager.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/Tool/EventManager.ts\"],\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