示例#1
0
            public override bool AgeIsFinished(account.Account account)
            {
                int count = 0;

                foreach (DataTableItems.ItemTypes itemType in m_ItemsToWin.Keys)
                {
                    if (account.Inventory.HasAmountOfItem(itemType, m_ItemsToWin[itemType]))
                    {
                        count++;
                    }
                }

                return(count == m_ItemsToWin.Count);
            }
示例#2
0
 public abstract bool AgeIsFinished(account.Account account);