Beispiel #1
0
 private bool meetsPrerequisites(AgricolaPlayer player)
 {
     if (Prerequisites.Count() > 0)
     {
         foreach (var prereq in Prerequisites)
         {
             if (!prereq.IsMet(player))
             {
                 return(false);
             }
         }
     }
     return(true);
 }
Beispiel #2
0
 public bool Ready()
 {
     return(Prerequisites.Count() == 0);
 }