示例#1
0
        private void GenerateNewMazeBtn_Click(object sender, RoutedEventArgs e)
        {
            _configuration = null;
            _maze          = null;

            MazeVisualization.Source = null;

            ShowMazeConfiguration();
        }
示例#2
0
        private void GenerateMaze()
        {
            var builder = new MazeBuilder(_configuration);

            _maze = builder.Generate();
        }