Пример #1
0
 public static void Circle(Point2D center, float radius, VisualClientColor color)
 {
     if (DebugHelper.CanDebug)
     {
         VisualClient.Instance.Circle(center.X, center.Y, radius, color.r, color.g, color.b);
     }
 }
Пример #2
0
 public static void Rect(Point2D p1, Point2D p2, VisualClientColor color)
 {
     if (DebugHelper.CanDebug)
     {
         VisualClient.Instance.Rect(p1.X, p1.Y, p2.X, p2.Y, color.r, color.g, color.b);
     }
 }
Пример #3
0
 public static void Circle(CircularUnit circularUnit, VisualClientColor color)
 {
     if (DebugHelper.CanDebug)
     {
         VisualClient.Instance.Circle(circularUnit.X, circularUnit.Y, (float)circularUnit.Radius, color.r, color.g, color.b);
     }
 }