Swordening.WeakSkeleton.Update C# (CSharp) Method

Update() public method

Allows the game component to update itself.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
return void
        public override void Update(GameTime gameTime)
        {
            moveTowards(hero.Position.X, hero.Position.Z, gameTime);

            base.Update(gameTime);
        }