public RulesFactory(view.WinnerAtDraw winnerAtDraw, view.Soft17 soft17, view.GameRules gameRules) { m_hitRule = soft17; m_winnerAtDraw = winnerAtDraw; m_gameRules = gameRules; }
public Game(view.WinnerAtDraw winnerAtDraw, view.Soft17 soft17, view.GameRules gameRules) { m_dealer = new Dealer(new rules.RulesFactory(winnerAtDraw, soft17, gameRules)); m_player = new Player(); }