예제 #1
0
 public PokerPlayer(string name, string cardCollection, CardBuilder cardBuilder,
                    CardCheckingFactory cardCheckingFactory)
 {
     m_name                = name;
     m_cardCollection      = cardCollection;
     m_cardBuilder         = cardBuilder;
     m_cardCheckingFactory = cardCheckingFactory;
 }
예제 #2
0
 public PokerGame()
 {
     m_cardBuilder         = new CardBuilder();
     m_cardCheckingFactory = new CardCheckingFactory();
 }