{
  "code": "import { Camera } from \"../Game/Camera\";\r\nvar Text = Laya.Text;\r\nexport class CameraManager {\r\n    static get Instance() {\r\n        return this.instance || (this.instance = new CameraManager());\r\n    }\r\n    CameraFollow(z) {\r\n        if (this.Camera)\r\n            this.Camera.MoveGame(z);\r\n    }\r\n    Init(cam, startPos) {\r\n        this.startPosTra = startPos.transform;\r\n        if (cam) {\r\n            this._maincamera = cam;\r\n            this.Camera = this._maincamera.addComponent(Camera);\r\n            this.Camera.Init();\r\n        }\r\n    }\r\n    createSampleText() {\r\n        var text = new Text();\r\n        text.overflow = Text.HIDDEN;\r\n        text.color = \"#FFFFFF\";\r\n        text.font = \"Impact\";\r\n        text.fontSize = 20;\r\n        text.borderColor = \"#FFFF00\";\r\n        text.x = 80;\r\n        Laya.stage.addChild(text);\r\n        text.text = \"A POWERFUL HTML5 ENGINE ON FLASH TECHNICAL\\n\" + \"A POWERFUL HTML5 ENGINE ON FLASH TECHNICAL\\n\" + \"A POWERFUL HTML5 ENGINE ON FLASH TECHNICAL\";\r\n        return text;\r\n    }\r\n    SetCameraAction(type, arg) {\r\n        if (this.Camera)\r\n            this.Camera.CameraAction(type, arg);\r\n    }\r\n}\r\n//# sourceMappingURL=CameraManager.js.map",
  "references": [
    "C:/Users/Administrator/Desktop/gungang/src/Game/Camera.ts"
  ],
  "map": "{\"version\":3,\"file\":\"CameraManager.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/Manager/CameraManager.ts\"],\"names\":[],\"mappings\":\"AAEA,OAAO,EAAC,MAAM,EAAe,MAAM,gBAAgB,CAAC;AAGpD,IAAO,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;AAIxB,MAAM,OAAQ,aAAa;IAEhB,MAAM,KAAK,QAAQ;QACtB,OAAO,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI,aAAa,EAAE,CAAC,CAAC;IAClE,CAAC;IAQM,YAAY,CAAC,CAAQ;QACxB,IAAG,IAAI,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