{
  "code": "export var ColliderGroup;\r\n(function (ColliderGroup) {\r\n    ColliderGroup[ColliderGroup[\"mound\"] = 8] = \"mound\";\r\n    ColliderGroup[ColliderGroup[\"wall\"] = 9] = \"wall\";\r\n    ColliderGroup[ColliderGroup[\"opponent\"] = 10] = \"opponent\";\r\n    ColliderGroup[ColliderGroup[\"obstacle1\"] = 11] = \"obstacle1\";\r\n    ColliderGroup[ColliderGroup[\"obstacle2\"] = 12] = \"obstacle2\";\r\n    ColliderGroup[ColliderGroup[\"obstacle3\"] = 13] = \"obstacle3\";\r\n})(ColliderGroup || (ColliderGroup = {}));\r\nexport class MusicType {\r\n    onPreLoadFinish() {\r\n        var layaMonkeyParent = this.scene.addChild(Laya.Loader.getRes(\"res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh\"));\r\n        var layaMonkeySon = Laya.Loader.getRes(\"res/threeDimen/skinModel/LayaMonkey2/LayaMonkey.lh\");\r\n        layaMonkeySon.transform.translate(new Laya.Vector3(2.5, 0, 0));\r\n        var scale = new Laya.Vector3(0.5, 0.5, 0.5);\r\n        layaMonkeySon.transform.localScale = scale;\r\n        layaMonkeyParent.addChild(layaMonkeySon);\r\n        this.addButton(100, 120, 160, 30, \"移动父级猴子\", 20, function (e) {\r\n            layaMonkeyParent.transform.translate(new Laya.Vector3(-0.1, 0, 0));\r\n        });\r\n        this.addButton(100, 160, 160, 30, \"放大父级猴子\", 20, function (e) {\r\n            var scale = new Laya.Vector3(0.2, 0.2, 0.2);\r\n            layaMonkeyParent.transform.localScale = scale;\r\n        });\r\n        this.addButton(100, 200, 160, 30, \"旋转父级猴子\", 20, function (e) {\r\n            layaMonkeyParent.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false);\r\n        });\r\n        this.addButton(100, 250, 160, 30, \"移动子级猴子\", 20, function (e) {\r\n            layaMonkeySon.transform.translate(new Laya.Vector3(-0.1, 0, 0));\r\n        });\r\n        this.addButton(100, 290, 160, 30, \"放大子级猴子\", 20, function (e) {\r\n            var scale = new Laya.Vector3(1, 1, 1);\r\n            layaMonkeySon.transform.localScale = scale;\r\n        });\r\n        this.addButton(100, 330, 160, 30, \"旋转子级猴子\", 20, function (e) {\r\n            layaMonkeySon.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false);\r\n        });\r\n    }\r\n    addButton(x, y, width, height, text, size, clickFun) {\r\n        Laya.loader.load([\"res/threeDimen/ui/button.png\"], Laya.Handler.create(null, function () {\r\n            var changeActionButton = Laya.stage.addChild(new Laya.Button(\"res/threeDimen/ui/button.png\", text));\r\n            changeActionButton.size(width, height);\r\n            changeActionButton.labelBold = true;\r\n            changeActionButton.labelSize = size;\r\n            changeActionButton.sizeGrid = \"4,4,4,4\";\r\n            changeActionButton.scale(Laya.Browser.pixelRatio, Laya.Browser.pixelRatio);\r\n            changeActionButton.pos(x, y);\r\n            changeActionButton.on(Laya.Event.CLICK, this, clickFun);\r\n        }));\r\n    }\r\n}\r\nMusicType.Idle = \"Idle\";\r\nMusicType.CrouchFiring = \"CrouchFiring\";\r\nMusicType.Dance = \"Dance\";\r\nMusicType.RunAndGun = \"RunAndGun\";\r\nMusicType.RunningHysteric = \"RunningHysteric\";\r\n//# sourceMappingURL=ColliderAndMusicType.js.map",
  "references": [],
  "map": "{\"version\":3,\"file\":\"ColliderAndMusicType.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/Game/ColliderAndMusicType.ts\"],\"names\":[],\"mappings\":\"AACA,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACrB,mDAAS,CAAA;IACT,iDAAQ,CAAA;IACR,0DAAa,CAAA;IACb,4DAAS,CAAA;IACT,4DAAS,CAAA;IACT,4DAAS,CAAA;AACb,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB;AACD,MAAM,OAAO,SAAS;IAIX,eAAe;QAExB,IAAI,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,mDAAmD,CAAC,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