Azmyth.XNA.frmCreatePlayer.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)
        {
            //int seed = 0;

            m_viewport = Game.GraphicsDevice.Viewport;

            Rectangle                = new Rectangle(0, 0, m_viewport.Width, m_viewport.Height);
            pnlMain.Rectangle        = new Rectangle((Rectangle.Width / 2) - 385, (Rectangle.Height / 2) - 205, 770, 420);
            pnlTitle.Rectangle       = new Rectangle((Rectangle.Width / 2) - 275, (Rectangle.Height / 2) - 225, 550, 40);
            lblTitle.Rectangle       = new Rectangle(0, 0, pnlTitle.Rectangle.Width, pnlTitle.Rectangle.Height);
            btnCreatePlayer.Rectangle = new Rectangle(pnlMain.Rectangle.Width - 220, pnlMain.Rectangle.Height - 50, 200, 30);
            lblPlayerName.Rectangle   = new Rectangle(pnlMain.Rectangle.Width - 445, 40, 100, 30);
            txtPlayerName.Rectangle   = new Rectangle(pnlMain.Rectangle.Width - 390, 40, 210 , 30);
            btnRandomName.Rectangle  = new Rectangle(pnlMain.Rectangle.Width - 170, 40, 150, 30);

            //m_world.Name = txtWorldName.Text;

            base.Update(gameTime);
        }