//clone method //returns a new GameDeck object after cloning the cardlist public object Clone() { GameDeck newDeck = new GameDeck(cards.Clone() as CardList); return(newDeck); }
//clone method //returns a clone of playerhand public object Clone() { PlayerHand newplayerHand = new PlayerHand(playerHand.Clone() as CardList); return(newplayerHand); }
//clones the river cards public object Clone() { GameRiver newGameRiver = new GameRiver(gameRiver.Clone() as CardList); return(newGameRiver); }