コード例 #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();
 }