Beispiel #1
0
 public static void Line(int x1, int y1, int x2, int y2, Color col)
 {
     LineBatch.DrawLine(_sb, col, new Vector2(x1, y1), new Vector2(x2, y2));
 }
Beispiel #2
0
 public static void Line(int x1, int y1, int x2, int y2, byte col)
 {
     LineBatch.DrawLine(_sb, pico8Palette[col], new Vector2(x1, y1), new Vector2(x2, y2));
 }