Exemplo n.º 1
0
 public PokerPlayer(string name, string cardCollection, CardBuilder cardBuilder,
                    CardCheckingFactory cardCheckingFactory)
 {
     m_name                = name;
     m_cardCollection      = cardCollection;
     m_cardBuilder         = cardBuilder;
     m_cardCheckingFactory = cardCheckingFactory;
 }
Exemplo n.º 2
0
 public PokerGame()
 {
     m_cardBuilder         = new CardBuilder();
     m_cardCheckingFactory = new CardCheckingFactory();
 }