Exemplo n.º 1
0
        public void CardsReshuffled(int howManyToKeep)
        {
            DeckRegularDict <D> thisCol = _objectList.Skip(_objectList.Count - howManyToKeep + 1).ToRegularDeckDict();

            _objectList.ReplaceRange(thisCol); //try this way.
            CurrentCard.IsSelected = false;
            CurrentCard.Drew       = false;
            _previousNum           = _objectList.Count;
        }