Exemplo n.º 1
0
        public Procent getBusinessSecurity(IInvestable business)
        {
            var res = business.GetCountry().OwnershipSecurity;

            if (business.GetCountry() != this.GetCountry())
            {
                res.multiply(Options.InvestingForeignCountrySecurity);
            }
            if (business.GetProvince() != this.GetProvince())
            {
                res.multiply(Options.InvestingAnotherProvinceSecurity);
            }
            if (!(business is Owners)) // building, upgrading and opening requires hiring people which can be impossible
            {
                res.multiply(Options.InvestorEmploymentRisk);
            }

            return(res);
        }