{
  "code": "import ResDic from \"./ResDic\";\r\nimport { EventManager, EventState } from \"./EventManager\";\r\nexport class AssetManager {\r\n    constructor() {\r\n        this.Player = new ResDic();\r\n        this.Enemy = new ResDic();\r\n        this.Horse = new ResDic();\r\n        this.Prop = new ResDic();\r\n        AssetManager.ins = this;\r\n        EventManager.EventOn(EventState.LoadComplete, this, this.Init);\r\n    }\r\n    static get Instance() {\r\n        if (AssetManager.ins) {\r\n            return AssetManager.ins;\r\n        }\r\n        else {\r\n            return new AssetManager();\r\n        }\r\n    }\r\n    Init() {\r\n        this.maincamera = this.mainscene.getChildByName(\"Main Camera\");\r\n        this.Plane = this.mainscene.getChildByName(\"Plane\");\r\n        EventManager.EventTrigger(EventState.SceneInit);\r\n    }\r\n}\r\nexport class ResourcesPath {\r\n}\r\nResourcesPath.MainScene = \"Game/res/MainScene/LayaScene_Mainscene/Conventional/Mainscene.ls\";\r\nResourcesPath.Horse = [\r\n    \"Game/res/Role/LayaScene_Role/Conventional/Horse.lh\"\r\n];\r\nResourcesPath.Player = [\r\n    \"Game/res/Role/LayaScene_Role/Conventional/player.lh\"\r\n];\r\nResourcesPath.Enemy = [\r\n    \"Game/res/Role/LayaScene_Role/Conventional/enemy.lh\"\r\n];\r\n//# sourceMappingURL=AssetManager.js.map",
  "references": [
    "E:/LayaProject/ArcherWorrior/src/Tools/ResDic.ts",
    "E:/LayaProject/ArcherWorrior/src/Tools/EventManager.ts"
  ],
  "map": "{\"version\":3,\"file\":\"AssetManager.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/Tools/AssetManager.ts\"],\"names\":[],\"mappings\":\"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE1D,MAAM,OAAO,YAAY;IAiBrB;QARO,WAAM,GAAU,IAAI,MAAM,EAAE,CAAC;QAE7B,UAAK,GAAU,IAAI,MAAM,EAAE,CAAC;QAE5B,UAAK,GAAU,IAAI,MAAM,EAAE,CAAC;QAE5B,SAAI,GAAU,IAAI,MAAM,EAAE,CAAC;QAG9B,YAAY,CAAC,GAAG,GAAG,IAAI,CAAC;QACxB,YAAY,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,EAAC,IAAI,EAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjE,CAAC;IACM,MAAM,KAAK,QAAQ;QACtB,IAAG,YAAY,CAAC,GAAG,EAAC;YAChB,OAAO,YAAY,CAAC,GAAG,CAAA;SAC1B;aACG;YACA,OAAO,IAAI,YAAY,EAAE,CAAC;SAC7B;IACL,CAAC;IACD,IAAI;QACA,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,aAAa,CAAgB,CAAC;QAC9E,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,OAAO,CAAkB,CAAC;QACrE,YAAY,CAAC,YAAY,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACpD,CAAC;CACJ;AACD,MAAM,OAAO,aAAa;;AACf,uBAAS,GAAG,kEAAkE,CAAC;AAC/E,mBAAK,GACZ;IACI,oDAAoD;CACvD,CAAA;AACM,oBAAM,GACb;IACI,qDAAqD;CACxD,CAAA;AACM,mBAAK,GACZ;IACI,oDAAoD;CACvD,CAAA\"}"
}
