public void Draw(PaintEventArgs e, GeneticAlg geneticAlg)
        {
            _mazeDrawer.Draw(e);

            foreach (var bot in geneticAlg.Pool)
            {
                _botDrawer.Draw(e, bot);
            }
        }
        public Menu(GeneticAlg geneticAlgorithm, Settings settings, MazeForm mazeForm, EngineSettings engineSettings)
        {
            _geneticAlgorithm = geneticAlgorithm;
            _settings = settings;
            _mazeForm = mazeForm;
            _engineSettings = engineSettings;

            InitializeComponent();
        }
        public MazeForm(EyeTesterDrawer eyeTesterDrawer, GeneticAlgorithmDrawer geneticAlgorithmDrawer, EyeTester eyeTester, GeneticAlg geneticAlgorithm, Settings settings, Maze maze)
        {
            _eyeTesterDrawer = eyeTesterDrawer;
            _geneticAlgorithmDrawer = geneticAlgorithmDrawer;
            _eyeTester = eyeTester;
            _geneticAlgorithm = geneticAlgorithm;
            _settings = settings;
            _maze = maze;

            InitializeComponent();
        }