コード例 #1
0
        public LifeCardGamePlayerItem PlayerWithCard(LifeCardGameCardInformation thisCard)
        {
            var tempList = PlayerList !.ToCustomBasicList();

            tempList.RemoveSpecificItem(SingleInfo !); //try this way
            foreach (var thisPlayer in tempList)
            {
                if (thisPlayer.LifeStory !.HandList.ObjectExist(thisCard.Deck))
                {
                    return(thisPlayer);
                }
            }
            throw new BasicBlankException("No player has the card");
        }