Exemplo n.º 1
0
        public void Draw(SpriteBatch spriteBatch, GraphicsDeviceManager graphics)
        {
            graphics.GraphicsDevice.Clear(Color.CornflowerBlue);
            spriteBatch.Draw(background, new Vector2(0, 0), Color.White);

            TennisBall.Draw(spriteBatch);
            Panel.Draw(spriteBatch);
            Panel1.Draw(spriteBatch);
            Panel2.Draw(spriteBatch);

            EndBlock.Draw(spriteBatch);
            gui.Draw(spriteBatch);
            spriteBatch.Draw(cursorTexture, cursorRectangle, Color.White);
        }