Update() public méthode

public Update ( ) : void
Résultat void
Exemple #1
0
        /// <summary>
        ///     Update player information, checks for collision and input, and many other things.
        /// </summary>
        public override void Update()
        {
            ContainInGameWorld();

            CheckInput();
            Burn();

            rewindTracker.Update(this);
            rewindTimer.Increment();

            if (!IsOnVines)
            {
                IsClimbing = false;
            }
            if (IsClimbing)
            {
                ObeysGravity = false;
            }
            else
            {
                ObeysGravity = true;
            }

            script.Update(this);

            base.Update();
        }
 void Update( )
 {
     ExposedVariables.Update( );
 }