public RealPlayerVsRealPlayer(PlayerFactory playerFactory, ControlEnums.Player player) { _realPlayer1 = playerFactory.BuildRealPlayer(); _realPlayer2 = playerFactory.BuildRealPlayer(); _realPlayer1.Player = player; _realPlayer2.Player = player == ControlEnums.Player.O ? ControlEnums.Player.X : ControlEnums.Player.O; }
public ScenarioFactory(PlayerFactory playerFactory) { _playerFactory = playerFactory; }