AncientChinaPuzzle1.AncientChinaPuzzle1.Draw C# (CSharp) Метод

Draw() защищенный Метод

This is called when the game should draw itself.
protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
Результат void
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.CornflowerBlue);
            spriteBatch.Begin();
            // TODO: Add your drawing code here

            spriteBatch.Draw(block1Texture, block1, Color.White);
            spriteBatch.Draw(block2Texture, block2, Color.White);
            spriteBatch.Draw(block3Texture, block3, Color.White);
            spriteBatch.Draw(block4Texture, block4, Color.White);
            spriteBatch.Draw(block5Texture, block5, Color.White);
            spriteBatch.Draw(block6Texture, block6, Color.White);
            spriteBatch.Draw(block7Texture, block7, Color.White);
            spriteBatch.Draw(block8Texture, block8, Color.White);
            spriteBatch.Draw(block9Texture, block9, Color.White);
            spriteBatch.Draw(block10Texture, block10, Color.White);
            spriteBatch.Draw(block11Texture, block11, Color.White);
            spriteBatch.Draw(block12Texture, block12, Color.White);
            spriteBatch.Draw(block13Texture, block13, Color.White);
            spriteBatch.Draw(block14Texture, block14, Color.White);
            spriteBatch.Draw(block15Texture, block15, Color.White);
            spriteBatch.Draw(block16Texture, block16, Color.White);
            spriteBatch.End();
            base.Draw(gameTime);
        }