public Hand(int cardCount, Deck deck, Pile pile) : base(cardCount) { _cardCount = cardCount; _deck = deck; _pile = pile; PickUpCards(_cardCount); }
public Game(IShitheadView view, IShitheadModel model, int numOfPlayers) { int cardCount = 3; Model = model; View = view; _numOfPlayers = numOfPlayers; Deck = new Deck(52); Pile = new Pile(); Hands = new List <ShitHand>(numOfPlayers); for (int i = 0; i < numOfPlayers; i++) { Hands.Add(new ShitHand(cardCount, Deck, Pile)); } }
public ShitHand(int cardCount, Deck deck, Pile pile) { _inHand = new Hand(cardCount, deck, pile); _faceUp = new Hand(cardCount, deck, pile); _faceDown = new Hand(cardCount, deck, pile); }