[hot] — Xna Framework 3.1
public Game1()
protected override void Draw(GameTime gameTime) xna framework 3.1
GraphicsDevice.Clear(Color.CornflowerBlue); spriteBatch.Begin(); spriteBatch.Draw(pixel, new Rectangle(100, 100, 200, 50), Color.Red); spriteBatch.End(); base.Draw(gameTime); xna framework 3.1
if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed) Exit(); base.Update(gameTime); xna framework 3.1
