diff --git a/Shared/Debug.cs b/Shared/Debug.cs index 741e0a0..23117ee 100644 --- a/Shared/Debug.cs +++ b/Shared/Debug.cs @@ -70,6 +70,10 @@ namespace SemiColinGames { lines.Add(new DebugLine(start, end, color)); } + public static void AddLine(int p1x, int p1y, int p2x, int p2y, Color color) { + lines.Add(new DebugLine(new Point(p1x, p1y), new Point(p2x, p2y), color)); + } + public static void DrawToasts(SpriteBatch spriteBatch, SpriteFont font) { if (!Enabled) { return;