示例#1
0
        public static void StartBrandingCampaign(GameEntity product, GameContext gameContext)
        {
            var cost = GetBrandingCost(product, gameContext);

            if (IsCanStartBrandingCampaign(product, gameContext, new CompanyTaskBrandingCampaign(product.company.Id), cost))
            {
                Cooldowns.AddBrandingCooldown(gameContext, product);
                Companies.SpendResources(product, cost);
            }
        }