public MainWindow() { InitializeComponent(); PlotTimer = new DispatcherTimer { Interval = TimeSpan.FromMilliseconds(1000 / 60) }; PlotTimer.Tick += Timer_Tick; RandomTimer = new DispatcherTimer { Interval = TimeSpan.FromSeconds(1.5) }; RandomTimer.Tick += RandomTimer_Tick; Stopwatch = new Stopwatch(); Simulator = new PendulumSet(); Plotter = new PathBuider(Simulator); }
public PathBuider(PendulumSet pendulumSet) { PendulumSet = pendulumSet; }