Tetris.Engine.Draw C# (CSharp) Method

Draw() protected method

This is called when the game should draw itself.
protected Draw ( GameTime gameTime ) : void
gameTime GameTime Provides a snapshot of timing values.
return void
        protected override void Draw(GameTime gameTime)
        {
            spriteBatch.Begin();
            spriteBatch.Draw(tetrisBackground, Vector2.Zero, Color.White);

            base.Draw(gameTime);
            spriteBatch.End();
        }
    }