Exemple #1
0
 public static void AddContract(LumberContract toAdd)
 {
     if (activeContracts.Count < PlayerSkills.GetMaxActiveContractsValue())
     {
         activeContracts.Add(toAdd);
     }
 }
Exemple #2
0
 public static bool CanAdd()
 {
     return(activeContracts.Count < PlayerSkills.GetMaxActiveContractsValue());
 }