{
  "code": "var Particle2D = Laya.Particle2D;\r\nexport var SoundType;\r\n(function (SoundType) {\r\n    SoundType[SoundType[\"hit\"] = 0] = \"hit\";\r\n    SoundType[SoundType[\"click\"] = 1] = \"click\";\r\n    SoundType[SoundType[\"win\"] = 2] = \"win\";\r\n    SoundType[SoundType[\"defeat\"] = 3] = \"defeat\";\r\n})(SoundType || (SoundType = {}));\r\nexport class SettingController {\r\n    constructor() {\r\n        this.vibrate = true;\r\n        this.sound = true;\r\n        this.SoundType = {\r\n            click: \"subpackage1/sound/click.mp3\",\r\n            win: \"subpackage1/sound/vector.mp3\",\r\n            defeat: \"subpackage1/sound/defeat.mp3\",\r\n            car_crush_1: \"subpackage1/sound/car_crush_1.mp3\",\r\n            car_crush_2: \"subpackage1/sound/car_crush_2.mp3\",\r\n            car_crush_3: \"subpackage1/sound/car_crush_3.mp3\",\r\n            explotion1: \"subpackage1/sound/explotion1.mp3\",\r\n            explotion2: \"subpackage1/sound/explotion2.mp3\",\r\n            gun_fire_1: \"subpackage1/sound/gun_fire_1.mp3\",\r\n            gun_fire_2: \"subpackage1/sound/gun_fire_2.mp3\",\r\n            gun_fire_3: \"subpackage1/sound/gun_fire_3.mp3\",\r\n            reload_gun_1: \"subpackage1/sound/reload_gun_1.mp3\",\r\n            reload_gun_2: \"subpackage1/sound/reload_gun_2.mp3\",\r\n            hitcar: \"subpackage1/sound/hitcar.mp3\",\r\n            hitrole: \"subpackage1/sound/hitrole.mp3\",\r\n            hit: \"subpackage1/sound/hit.mp3\"\r\n        };\r\n        this.bgm = \"subpackage1/sound/bgm.mp3\";\r\n    }\r\n    static get Instance() {\r\n        return this.instasnce || (this.instasnce = new SettingController());\r\n    }\r\n    onAssetsLoaded(settings) {\r\n        this.sp = new Particle2D(settings);\r\n        this.sp.emitter.start();\r\n        this.sp.play();\r\n        Laya.stage.addChild(this.sp);\r\n        this.sp.x = Laya.stage.width / 2;\r\n        this.sp.y = Laya.stage.height / 2;\r\n    }\r\n    SettingSound(value) {\r\n    }\r\n    _playMusic(on) {\r\n    }\r\n    SetSoundV(value) {\r\n    }\r\n    PlaySound(type) {\r\n    }\r\n    StopSound(type) {\r\n    }\r\n    Init() {\r\n        var v = Laya.LocalStorage.getItem(\"vibrate\");\r\n        this.vibrate = Number(v) ? v == \"1\" ? true : false : true;\r\n    }\r\n}\r\n//# sourceMappingURL=SettingController.js.map",
  "references": [
    "C:/Users/Administrator/Desktop/gungang/src/Net/WXSdk.ts",
    "C:/Users/Administrator/Desktop/gungang/src/Util/GameTool.ts"
  ],
  "map": "{\"version\":3,\"file\":\"SettingController.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/Game/SettingController.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAO,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;AAEpC,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACjB,uCAAG,CAAA;IACH,2CAAK,CAAA;IACL,uCAAG,CAAA;IACH,6CAAM,CAAA;AACV,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AACD,MAAM,OAAO,iBAAiB;IAA9B;QAEW,YAAO,GAAG,IAAI,CAAC;QACf,UAAK,GAAG,IAAI,CAAC;QAMb,cAAS,GAAG;YACf,KAAK,EAAE,6BAA6B;YACpC,GAAG,EAAE,8BAA8B;YACnC,MAAM,EAAE,8BAA8B;YACtC,WAAW,EAAE,mCAAmC;YAChD,WAAW,EAAE,mCAAmC;YAChD,WAAW,EAAE,mCAAmC;YAChD,UAAU,EAAE,kCAAkC;YAC9C,UAAU,EAAE,kCAAkC;YAC9C,UAAU,EAAE,kCAAkC;YAC9C,UAAU,EAAE,kCAAkC;YAC9C,UAAU,EAAE,kCAAkC;YAC9C,YAAY,EAAE,oCAAoC;YAClD,YAAY,EAAE,oCAAoC;YAClD,MAAM,EAAE,8BAA8B;YACtC,OAAO,EAAE,+BAA+B;YACxC,GAAG,EAAC,2BAA2B;SAClC,CAAA;QAeO,QAAG,GAAG,2BAA2B,CAAA;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