This commit is contained in:
Учебный 2023-11-26 17:33:43 +04:00
parent 18cfa60a37
commit d480439f7b

View File

@ -42,23 +42,15 @@ namespace ProjectBoat_bae.DrawningObjects
g.FillRectangle(additionalBrush, _startPosX + 35, _startPosY - 5, 5, 65);
g.FillRectangle(additionalBrush, _startPosX + 28, _startPosY + 60, 12, 8);
g.FillRectangle(additionalBrush, _startPosX + 28, _startPosY - 5, 12, 8);
}
//флажок
Point[] points;
if (Boat.Body)
{
points = new Point[]
{
new Point(Convert.ToInt32(_startPosX+70),Convert.ToInt32(_startPosY-20)),
new Point(Convert.ToInt32(_startPosX+70),Convert.ToInt32(_startPosY+10)),
new Point(Convert.ToInt32(_startPosX+90),Convert.ToInt32(_startPosY)),
new Point(Convert.ToInt32(_startPosX+90),Convert.ToInt32(_startPosY-20)),
};
g.FillPolygon(additionalBrush, points);
g.DrawPolygon(pen, points);
}
}
base.DrawTransport(g);
//кресла
if (Boat.Body)
{
g.FillRectangle(additionalBrush, _startPosX + 58, _startPosY + 70, 25, 40);
}
}
}
}