Esempio n. 1
0
 public void Reset()
 {
     StartingList.Clear();
     BoardList.Clear();
     EndList.Clear();
     for (int i = 0; i < 6; i++)
     {
         occurenceList.Add(0);
         StartingList.Add(new Dice());
     }
 }
Esempio n. 2
0
 private void changeList(List <Dice> list)
 {
     for (int i = 0; i < list.Count; i++)
     {
         EndList.Add(list[i]);
         BoardList.Remove(list[i]);
     }
     foreach (Dice d in BoardList.ToArray())
     {
         StartingList.Add(d);
         BoardList.Remove(d);
     }
 }