Esempio n. 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();
        }
    }
Esempio n. 2
0
 public void SaveAllShopsDatas()
 {
     PlayerDataSaver.SaveSellersDatas(allShopsWithParameters);
 }