示例#1
0
    //ne pas oublier d'assigner les sellers data au SetUp
    public void SaveShopParameters(ShopWithShopParameters parameters)
    {
        SellersData sellersData = PlayerDataSaver.LoadShopDatas();

        if (sellersData != null)
        {
            sellersData.SetSellersData(parameters);
            PlayerDataSaver.SaveSellersDatas(sellersData);
        }
        else
        {
            SaveAllShopsDatas();
        }
    }
示例#2
0
 public void SaveAllShopsDatas()
 {
     PlayerDataSaver.SaveSellersDatas(allShopsWithParameters);
 }