public Board(IActiveCards active, IDrawPile draw, IDiscardPile discard, IHand hand) { if (hand == null) { throw new ArgumentNullException("hand"); } if (draw == null) { throw new ArgumentNullException("draw"); } if (active == null) { throw new ArgumentNullException("active"); } if (discard == null) { throw new ArgumentNullException("discard"); } this.hand = hand; this.drawPile = draw; this.activeCards = active; this.discardPile = discard; }
void IDeckEvents <TElement> .Drew(IDrawPile <TElement> pile, TElement card) { }
void IDeckEvents <TElement> .Drawing(IDrawPile <TElement> pile) { }