public void UpdateDisplay(object sender, EventArgs e) { UpdateRocketList(); SelectRightRocket(); var rocket = _objects.MainObject; DisplayInformation(rocket); DisplayStats(rocket); DisplayLocation(rocket); QuerySliders(rocket); UpdateForceDrawer(rocket); lblDebugFps.Text = _screen.GetActualFramerate() + " fps"; }
public void UpdateDisplay(object sender, EventArgs e) { cbxSelectRocket.DataSource = _objects.Rockets; SelectRightRocket(); var rocket = _objects.MainObject; if (rocket is null) { return; } DisplayInformation(rocket); DisplayStats(rocket); DisplayLocation(rocket); QuerySliders(rocket); UpdateForceDrawer(rocket); lblDebugFps.Text = _screen.GetActualFramerate() + " fps"; }