private int GetBaseImpact(GeographyPolicy policy) { foreach (GeographyTrait trait in Geography) { if (trait.Type == policy.Trait) { return(GetImpactPointsFor(trait)); } } return(0); }
private int GetPolicyImpact(GeographyPolicy policy) { return(policy.Value * GetBaseImpact(policy)); }