Exemplo n.º 1
0
        public void ResetProgress()
        {
            Popup.Instance.Confirm("Warning!", "This will reset all of your levels. Are you sure you want to do that?",
                                   b =>
            {
                if (!b)
                {
                    return;
                }

                levelSystem = new LevelSystem();
                levelSystem.Save();
                shopSystem = new ShopSystem();
                shopSystem.Save();
                UpdateUi();
                UpdateText();
            });
        }
Exemplo n.º 2
0
 public void UpdateLevel()
 {
     //levelSystem.AddExperience(playerBase.Score);
     levelSystem.Save();
     UpdateUi();
 }