Пример #1
0
 public BudgetManager()
 {
     Name              = "Budget";
     Instance          = this;
     FundingAllocation = 0.4f;
     Debug.Log("[Bureaucracy]: Budget Manager is ready");
 }
Пример #2
0
 public BudgetEvent(double budgetTime, BudgetManager manager, bool newKacAlarm)
 {
     MonthLength    = SettingsClass.Instance.TimeBetweenBudgets;
     CompletionTime = budgetTime;
     Name           = "Next Budget";
     ParentManager  = manager;
     if (newKacAlarm)
     {
         Utilities.Instance.NewStockAlarm("Next Budget", "Next Budget", CompletionTime);
     }
     StopTimewarpOnCompletion = true;
     AddTimer();
 }