Example #1
0
        //clone method


        public object Clone()
        {
            PlayerCard newplayerHand = new PlayerCard(playerCard.Clone() as CardList);

            return(newplayerHand);
        }
Example #2
0
        //clone method

        public object Clone()
        {
            Deck newDeck = new Deck(cards.Clone() as CardList);

            return(newDeck);
        }
Example #3
0
        //clones the center cards
        public object Clone()
        {
            CenterCards newGameCenter = new CenterCards(gameCenter.Clone() as CardList);

            return(newGameCenter);
        }