public static void DrawMapPolygon(MapPolygon mapPolygon, DrawColor color) {
     if (mapPolygon.Positions.Count <= 1) return;
     for (int i = 0; i < mapPolygon.Positions.Count - 1; i++) {
         DrawLine(DrawPlaces.Map, mapPolygon.Positions[i].X, mapPolygon.Positions[i].Y, mapPolygon.Positions[i + 1].X, mapPolygon.Positions[i + 1].Y, color);
     }
     Position lastPoint = mapPolygon.Positions[mapPolygon.Positions.Count - 1];
     Position firstPoint = mapPolygon.Positions[0];
     DrawLine(DrawPlaces.Map, firstPoint.X, firstPoint.Y,  lastPoint.X, lastPoint.Y, color);
 }
 public static void DrawTriangle(DrawPlaces drawWhere, int x1, int y1, int x2, int y2, int x3, int y3, DrawColor color, bool isSolid) {
    SWIG.BWAPI.bwapi.Broodwar.drawTriangle((int)drawWhere, x1, y1, x2, y2, x3, y3, color.BwapiColor, isSolid);
 }
 public static void DrawLine(DrawPlaces drawWhere, int x1, int y1, int x2, int y2, DrawColor color) {
    SWIG.BWAPI.bwapi.Broodwar.drawLine((int)drawWhere, x1, y1, x2, y2, color.BwapiColor);
 }
 public static void DrawDot(DrawPlaces drawWhere, int x, int y, DrawColor color) {
    SWIG.BWAPI.bwapi.Broodwar.drawDot((int)drawWhere, x, y, color.BwapiColor);
 }
 public static void DrawEllipse(DrawPlaces drawWhere, int x, int y, int radiusX, int radiusY, DrawColor color, bool isSolid) {
    SWIG.BWAPI.bwapi.Broodwar.drawEllipse((int)drawWhere, x, y, radiusX, radiusY, color.BwapiColor, isSolid);
 }
 public static void DrawBox(DrawPlaces drawWhere, int x, int y, int width, int height, DrawColor color, bool isSolid) {
    SWIG.BWAPI.bwapi.Broodwar.drawBox((int)drawWhere, x, y, width, height, color.BwapiColor, isSolid);
 }