Platformer.Camera.TrackingDirector.update C# (CSharp) Method

update() public method

public update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void
        public override void update(GameTime gameTime)
        {
            if (target != null)
            {
                Camera.Position = target.getPosition();
            }
        }