Example #1
0
        public void CheckMoveYulgutCard()
        {
            if (active == true)
            {
                return;
            }

            if (piCard.haveCardList.Sum(x => x.infomation.point) > 7)
            {
                return;
            }

            num9Card = yulgutCard.haveCardList.Find(x => x.infomation.subKind.Equals(Infomation.SubKind.BatCard));
            if (num9Card != null)
            {
                active = true;
                piCard.CardAdd(num9Card);
                yulgutCard.haveCardList.Remove(num9Card);
                SortCardList();
            }
        }
Example #2
0
 public void ReceiveCard(Card _card)
 {
     haveCard.CardAdd(_card);
 }