public MainForm() { InitializeComponent(); // Choose the initial grid size mRows = 10; mCols = 10; // Initialize the grid mFieldGrid = new FieldGrid(mRows, mCols); // Update the grid UpdateGrid(); }
/// <summary> /// Public constructor, it gets the grid on which work on /// </summary> /// <param name="fieldgrid"></param> public MazeSolver(FieldGrid fieldgrid) { mGrid = fieldgrid; mSolutions = new List <List <FieldCoord> >(); }