public MazeSolver(MazeData mazeData) { this.mazeData = mazeData; string[] startXY = mazeData.StartPosition.Split(","); xAxes = int.Parse(startXY[0]); yAxes = int.Parse(startXY[1]); }