/// <summary> /// Checks if all prerequisites of the card are met /// </summary> /// <param name="player"></param> /// <returns></returns> public bool PrerequisitesMet(AgricolaPlayer player) { return(!Prerequisites.Any(x => !x.IsMet(player))); }
/// <summary> /// Checks if all prerequisites of the card are met /// </summary> /// <param name="player"></param> /// <returns></returns> public bool PrerequisitesMet(AgricolaPlayer player) { return(!Prerequisites.Any(x => !x.IsMet(player))); }