public bool Contains(YieldSummary other) { return(Food >= other.Food && Production >= other.Production && Gold >= other.Gold && Culture >= other.Culture && Science >= other.Science && GreatArtist >= other.GreatArtist && GreatEngineer >= other.GreatEngineer && GreatMerchant >= other.GreatMerchant && GreatScientist >= other.GreatScientist); }
public YieldSummary(YieldSummary other) { Food = other.Food; Production = other.Production; Gold = other.Gold; Culture = other.Culture; Science = other.Science; GreatArtist = other.GreatArtist; GreatEngineer = other.GreatEngineer; GreatMerchant = other.GreatMerchant; GreatScientist = other.GreatScientist; }