private bool CheckMillAgainstBoard(Mill mill, Cow cow)//checks a specified possible mill against a type of cow to see if a mill has been created { bool check = true; List <int> list = mill.ToList(); foreach (int i in list) { check = check && GetNode(i) == cow; } return(check); }
public void Add(Mill mill)//adds a mill to mills { mills.Add(mill); }