private void GenerateNewMazeBtn_Click(object sender, RoutedEventArgs e) { _configuration = null; _maze = null; MazeVisualization.Source = null; ShowMazeConfiguration(); }
private void GenerateMaze() { var builder = new MazeBuilder(_configuration); _maze = builder.Generate(); }