add Debug.AddLine() function that takes in integer coordinates instead of Points
GitOrigin-RevId: 145f4f076376bc63e6e899db49cdcfe10beacddf
This commit is contained in:
parent
8c6b0e3c92
commit
57e9ea558a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user