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;
        }
示例#2
0
 public ScenarioFactory(PlayerFactory playerFactory)
 {
     _playerFactory = playerFactory;
 }
示例#3
0
 public ScenarioFactory(PlayerFactory playerFactory)
 {
     _playerFactory = playerFactory;
 }