示例#1
0
 public bool IsEnoughResources(TeamResource Need)
 {
     return(IsEnoughResources(Need, this));
 }
示例#2
0
 internal void Add(TeamResource resources)
 {
     AddTeamPoints(resources);
     AddMoney(resources.money);
 }
 public static string Money(TeamResource value, bool minifyToInteger = false) => Money(value.money, minifyToInteger);
示例#4
0
        public static void SpendResources(GameEntity company, TeamResource resource)
        {
            company.companyResource.Resources.Spend(resource);

            company.ReplaceCompanyResource(company.companyResource.Resources);
        }
示例#5
0
 public static bool IsEnoughResources(GameEntity company, TeamResource resource)
 {
     return(company.companyResource.Resources.IsEnoughResources(resource));
 }
示例#6
0
 public static void SetResources(GameEntity company, TeamResource resource)
 {
     company.ReplaceCompanyResource(resource);
 }