Exemple #1
0
    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);
    }
Exemple #2
0
 public void SortDiceList()
 {
     PharoahDie.SortList(diceList);
 }