.
This commit is contained in:
parent
18cfa60a37
commit
d480439f7b
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user