diff --git a/RecrownedAthenaeum/UI/Modular/UIModule.cs b/RecrownedAthenaeum/UI/Modular/UIModule.cs index 243831d..b7f9ab7 100644 --- a/RecrownedAthenaeum/UI/Modular/UIModule.cs +++ b/RecrownedAthenaeum/UI/Modular/UIModule.cs @@ -13,13 +13,6 @@ namespace RecrownedAthenaeum.UI.Modular /// public class UIModule : IInputListener { - private RectangleRenderer rectangleRenderer; - - /// - /// Draws rectangle using the bounds of this module. - /// - public bool Debugging { set { if (value) { if (rectangleRenderer == null) rectangleRenderer = new RectangleRenderer(); } else { rectangleRenderer?.Dispose(); rectangleRenderer = null; } } get { return rectangleRenderer != null; } } - /// /// The bounds before factoring in the origin. /// @@ -71,12 +64,6 @@ namespace RecrownedAthenaeum.UI.Modular /// Batch used to draw. public virtual void Draw(SpriteBatch batch) { - if (Debugging) - { - rectangleRenderer.Begin(); - rectangleRenderer.Draw(TrueBounds.X, TrueBounds.Y, TrueBounds.Width, TrueBounds.Height, Color.Red); - rectangleRenderer.End(); - } } ///