public List <PharoahDie> GetLockedDiceList() { List <PharoahDie> diceList = new List <PharoahDie>(); foreach (DieSlot ds in lockedDiceSlots) { if (!ds.isEmpty()) { if (ds.GetChildAsDie() != null) { diceList.Add(ds.GetChildAsDie()); } } } PharoahDie.SortList(diceList); return(diceList); }
public void SortDiceList() { PharoahDie.SortList(diceList); }