update() public méthode

public update ( ) : void
Résultat void
Exemple #1
0
        public void update()
        {
            if (t <= Math.Round(Planetarium.GetUniversalTime(), 0))
            {
                t = Math.Round(Planetarium.GetUniversalTime(), 0) + 1;

                arrows += "»";
                if (arrows.Length > 4)
                {
                    arrows = "";
                }
            }

            throttle.update();

            if (roverMode)
            {
                rover.update();
            }

            foreach (AttitudeStateButton b in attitudeButtons)
            {
                b.Update();
            }
        }