private void btnInterfaces_Click(object sender, RoutedEventArgs e) { TurtleGTX alex = new TurtleGTX(playground, 100, 100); TurtleGTX dave = new TurtleGTX(playground, 200, 200); TurtleGTX[] xs = { alex, dave }; alex.Forward(80); dave.Forward(40); Array.Sort(xs); }
public TurtleGTXGUI() { InitializeComponent(); tess = new TurtleGTX(playground, 200, 200); }