public Deck(IShuffelCards cardShuffler, ICreateASetOfCards setOfCards) { _cardShuffler = cardShuffler; _setOfCards = setOfCards; _cards = new Stack <Card>(); Reset(); }
public Deck(IShuffelCards cardShuffler, ICreateASetOfCards setOfCards) { _cardShuffler = cardShuffler; _setOfCards = setOfCards; _cards = new Stack<Card>(); Reset(); }
public static Deck Create(IShuffelCards cardShuffler, ICreateASetOfCards setOfCards) { return(new Deck(cardShuffler, setOfCards)); }
public static Deck Create(IShuffelCards cardShuffler, ICreateASetOfCards setOfCards) { return new Deck(cardShuffler, setOfCards); }
public void SetUp() { _setOfCards = new ANormalDeck(); _shuffelCards = new TestShuffler(); _deck = new Deck(_shuffelCards, _setOfCards); }