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); }