// initialize variables public LineGameObject(Line2D Line) : base() { this.Line = Line; this.MoveDirection = new Vector2D(0, 0); _pen = new Pen(Brushes.Black, 2); }
// function title says all public static double AngleBetweenLines(Line2D l1, Line2D l2) { return Math.Abs(180 - l1.AngleDegrees - l2.AngleDegrees); }