internal void GetCardContext(int cardType)
        {
            CardContext context = cards[cardType];

            if (context == null)
            {
                CurrentIndex = 0;
                CurrentCount = 0;
            }
            else
            {
                CurrentIndex = context.Index;
                CurrentCount = context.Count;
            }
        }
        internal void SetCardContext(int cardType)
        {
            CardContext context = new CardContext
            {
                CardType = cardType,
                Index    = CurrentIndex,
                Count    = CurrentCount
            };

            cards[cardType] = context;

            if ((cardType == 0) || (cardType == 6))
            {
                cards[cardType + 1] = context;
            }
        }