private void button2_Click(object sender, RoutedEventArgs e) { g = new FlourishingTreeGenerator(); r = new LowRender(xCanvas); xCanvas.Children.Clear(); r.Draw(g.Generate()); }
private void button3_Click(object sender, RoutedEventArgs e) { g = new SampleTree(); r = new LowRender(xCanvas); xCanvas.Children.Clear(); r.Draw(g.Generate()); }
private void button1_Click(object sender, RoutedEventArgs e) { g = new SensitivePlantGenerator(); r = new LowRender(xCanvas); xCanvas.Children.Clear(); r.Draw(g.Generate()); }