コード例 #1
0
 public static void OpenGameFromFile(string path) // when the load button is pressed
 {
     PopulateGameSettingsFromFile(path);
     UIUpdater.UpdateAllLabels();
 }
コード例 #2
0
 public static void IncreaseClicksCount(int amount = 1)
 {
     clicks += amount;
     UIUpdater.UpdateAllLabels();
 }
コード例 #3
0
        public static void BuyBasicBaker(int amount = 1)
        {
            BasicBakers = amount;

            UIUpdater.UpdateAllLabels();
        }
コード例 #4
0
        // Power up tool tips


        public static void IncreaseCroissantsCount(decimal amount = 1)
        {
            croissants += amount;
            UIUpdater.UpdateAllLabels();
        }