import InterfaceManager from "../../Scripts/Manager/InterfaceManager"; export default class JiuPingHuiShouManager{ static gameConfigs = []; public static getManagerConfigs(){ return this.gameConfigs } public static initManager(callFunc){ let self = this cc.loader.loadRes('Json/gameConfig/jiupinghuishou.json', function (err, gameconfig) { if (err) { console.log(err); return; } self.gameConfigs = gameconfig.json; // console.log("游戏配置加载成功", self.gameConfigs); callFunc() }); } public static getCurGoodList(){ //将任务/剧情道具替换掉最后的商品 let daoYeList = InterfaceManager.getDaoyeList() let replaceGoodsTab = [] // for(let i=0;i