Example #1
0
 public Dealer(rules.RulesFactory a_rulesFactory)
 {
     m_newGameRule = a_rulesFactory.GetNewGameRule();
     m_hitRule     = a_rulesFactory.GetHitRule();
     m_winRule     = a_rulesFactory.GetWinRule();
     m_subscribers = new List <ICardDealtObserver>();
 }
Example #2
0
 public Dealer(rules.RulesFactory a_rulesFactory)
 {
     m_newGameRule = a_rulesFactory.GetNewGameRule();
     m_hitRule = a_rulesFactory.GetHitRule();
     m_winRule = a_rulesFactory.GetWinRule();
     m_maxScoreRule = a_rulesFactory.getMaxScoreRule();
     m_subscribers = new List<CardDealtListener>();
 }