ы
This commit is contained in:
parent
7208bf8c77
commit
10229736d9
@ -48,11 +48,13 @@ namespace ProjectLocomotive.Drawnings
|
|||||||
base.DrawTransport(g);
|
base.DrawTransport(g);
|
||||||
|
|
||||||
|
|
||||||
|
if (entityTLocomotive.Pipe)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Point[] points4 = { new Point(_startPosX.Value + 20, _startPosY.Value), new Point(_startPosX.Value + 30, _startPosY.Value), new Point(_startPosX.Value + 30, _startPosY.Value - 7), new Point(_startPosX.Value + 32, _startPosY.Value - 9), new Point(_startPosX.Value + 30, _startPosY.Value - 11), new Point(_startPosX.Value + 20, _startPosY.Value - 11), new Point(_startPosX.Value + 18, _startPosY.Value - 9), new Point(_startPosX.Value + 20, _startPosY.Value - 7), new Point(_startPosX.Value + 20, _startPosY.Value) };
|
Point[] points4 = { new Point(_startPosX.Value + 20, _startPosY.Value), new Point(_startPosX.Value + 30, _startPosY.Value), new Point(_startPosX.Value + 30, _startPosY.Value - 7), new Point(_startPosX.Value + 32, _startPosY.Value - 9), new Point(_startPosX.Value + 30, _startPosY.Value - 11), new Point(_startPosX.Value + 20, _startPosY.Value - 11), new Point(_startPosX.Value + 18, _startPosY.Value - 9), new Point(_startPosX.Value + 20, _startPosY.Value - 7), new Point(_startPosX.Value + 20, _startPosY.Value) };
|
||||||
g.FillPolygon(wheelBrush, points4);
|
g.FillPolygon(wheelBrush, points4);
|
||||||
|
}
|
||||||
|
|
||||||
if (entityTLocomotive.Fueltank)
|
if (entityTLocomotive.Fueltank)
|
||||||
{
|
{
|
||||||
|
@ -41,7 +41,7 @@ namespace ProjectLocomotive
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Метод прорисовки круисера
|
/// Метод прорисовки поезда
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void Draw()
|
private void Draw()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user