// Содержать в себе последние ответы
        // И выдавать их по требованию
        // Обнулять при смене типа сетки

        public InteractionController(Discipline type)
        {
            switch (type)
            {
            case Discipline.Football:
                _disciplineController = new FootballIneractionController();
                break;

            default: break;
            }
        }
        public bool ChangeDiscipline(Discipline type)
        {
            switch (type)
            {
            case Discipline.Football:
                _disciplineController = new FootballIneractionController();
                break;

            default: break;
            }

            return(true);
        }
Ejemplo n.º 3
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>();
        }