Azmyth.XNA.frmSettings.Update C# (CSharp) Méthode

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void
        public override void Update(GameTime gameTime)
        {
            Rectangle = new Rectangle((Game.GraphicsDevice.Viewport.Width / 2) - 150, (Game.GraphicsDevice.Viewport.Height / 2) - 120, 300, 240);
            base.Update(gameTime);
        }