Пример #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>();
 }
Пример #2
0
 public Dealer(rules.RulesFactory a_rulesFactory, List <Observer> observerList)
 {
     observers     = observerList;
     m_newGameRule = a_rulesFactory.GetNewGameRule();
     m_hitRule     = a_rulesFactory.GetHitRule();
     m_winRule     = a_rulesFactory.GetWinRule();
 }
Пример #3
0
 public Dealer(rules.RulesFactory a_rulesFactory)
 {
     m_newGameRule = a_rulesFactory.GetNewGameRule();
     m_hitRule     = a_rulesFactory.GetHitRule();
     m_winRule     = a_rulesFactory.GetWinRule();
     _isDealer     = true;
 }
Пример #4
0
 public Dealer(rules.RulesFactory a_rulesFactory)
 {
     m_newGameRule  = a_rulesFactory.GetNewGameRule();
     m_hitRule      = a_rulesFactory.GetHitRule();
     m_winRule      = a_rulesFactory.GetWinRule();
     m_dealCardRule = a_rulesFactory.GetCardRule();
 }
Пример #5
0
 public Dealer(rules.RulesFactory a_rulesFactory)
 {
     m_newGameRule  = a_rulesFactory.GetNewGameRule();
     m_hitRule      = a_rulesFactory.GetHitRule();
     m_winCondition = a_rulesFactory.GetWinRule();
 }