public InterpritatorController(Discipline type)
        {
            switch (type)
            {
            case Discipline.Football:
                _mainInterpritator = new FootballInterpritator();
                break;

            default: break;
            }
        }
Exemplo n.º 2
0
        public BridgeToInterfaceController()
        {
            _interactionController = new InteractionController.InteractionController(Discipline.Football);
            _network           = new NetworkController.NetworkController(Discipline.Football);
            _interpritator     = new InterpritatorController.InterpritatorController(Discipline.Football);
            matchesForLearning = new Dictionary <LastMatch, List <LastMatch> >();
            teamList           = _interactionController.GetTeamList();
            MatchesCount       = 1000;
            learningResult     = string.Empty;

            lastMatchesA = new List <LastMatch>();
            lastMatchesB = new List <LastMatch>();
        }
        public bool ChangeDiscipline(Discipline type)
        {
            switch (type)
            {
            case Discipline.Football:
                _mainInterpritator = new FootballInterpritator();
                break;

            default: break;
            }

            return(true);
        }