DreamVoyage/Main.cs
/// <summary>
/// This is called when the game should draw itself.
/// </summary>
/// <param name="gameTime">Provides a snapshot of timing values.</param>
This is called when the game should draw itself.
This is called when the game should draw itself .
protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.CornflowerBlue);
            Globals.spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend);
            world.Draw();
            Globals.spriteBatch.End();
            base.Draw(gameTime);
        }
protected override void Draw ( GameTime gameTime ) { GraphicsDevice . Clear ( Color . CornflowerBlue ) ; Globals . spriteBatch . Begin ( SpriteSortMode . Deferred , BlendState . AlphaBlend ) ; world . Draw ( ) ; Globals . spriteBatch . End ( ) ; base . Draw ( gameTime ) ; }
This is called when the game should draw itself.
This is called when the game should draw itself .
// TODO: Add your drawing code here // Draw everything here
gameTime
GameTime
Provides a snapshot of timing values.
Provides a snapshot of timing values .