Exemple #1
0
        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";
        }
Exemple #2
0
        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";
        }