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 RealPlayerVsRealPlayer BuildRealPlayerVsRealPlayer(ControlEnums.Player player) { return new RealPlayerVsRealPlayer(_playerFactory, player); }