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();
        }
 public EyeTester(int numberOfEyes, double magnitude, Maze maze, EyeFactory eyeFactory, Settings settings, EngineSettings engineSettings)
 {
     Radius = 0.0;
     Visible = false;
     NumEyes = numberOfEyes;
     _maze = maze;
     _settings = settings;
     _engineSettings = engineSettings;
     Eyes = new Eye[NumEyes];
     for (var i = 0; i < NumEyes; ++i)
     {
         Eyes[i] = eyeFactory.Create(Position, 0.0, i / (double)NumEyes * Consts.FullTurn, 0.0, magnitude);
     }
 }