public Dealer(rules.RulesFactory theRulesFactory) { theNewGameRule = theRulesFactory.GetNewGameRule(); theHitRule = theRulesFactory.GetHitRule(); theWinnerRule = theRulesFactory.GetWinnerRule(); }
public Dealer(rules.RulesFactory a_rulesFactory) { m_newGameRule = a_rulesFactory.GetNewGameRule(); m_hitRule = a_rulesFactory.GetHitRule(); m_winnerOnEqualRule = a_rulesFactory.GetWinnerRule(); }