/// <summary> /// drawing a single object all over the screen /// </summary> /// <param name="d"></param> public static void DrawSingle(DrawObj d) { grd.Viewport = new Viewport(0, 0, Tools.W, Tools.H); grd.Clear(Color.CornflowerBlue); Tools.sb.Begin(SpriteSortMode.BackToFront, BlendState.AlphaBlend, null, null, null, null, null); d.draw(); Tools.sb.End(); }