Example #1
0
 public void MoveToPossible(CustomCell cell)
 {
     for (int i = 0; i < SelectedFeats.Count; i++)
     {
         if (cell.Equals(SelectedFeats[i]))
         {
             PossibleFeats.Add(cell);
             SelectedFeats.Remove(cell);
             FeatsLeft += 1;
         }
     }
 }
Example #2
0
 public void MoveToSelected(CustomCell cell)
 {
     if (FeatsLeft > 0)
     {
         for (int i = 0; i < PossibleFeats.Count; i++)
         {
             if (cell.Equals(PossibleFeats[i]))
             {
                 PossibleFeats.Remove(cell);
                 SelectedFeats.Add(cell);
             }
         }
         FeatsLeft -= 1;
     }
 }