commented code deleted
This commit is contained in:
parent
7f4ef450a3
commit
d5a0b336e8
@ -57,63 +57,6 @@ namespace Sailboat
|
|||||||
//усиленный нос
|
//усиленный нос
|
||||||
g.FillRectangle(brush, _startPosX + 133, _startPosY + 55, 10, 10);
|
g.FillRectangle(brush, _startPosX + 133, _startPosY + 55, 10, 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Brush dopBrush = new SolidBrush(sportCar.DopColor);
|
|
||||||
|
|
||||||
if (sportCar.BodyKit)
|
|
||||||
{
|
|
||||||
g.DrawEllipse(pen, _startPosX + 90, _startPosY, 20, 20);
|
|
||||||
g.DrawEllipse(pen, _startPosX + 90, _startPosY + 40, 20, 20);
|
|
||||||
g.DrawRectangle(pen, _startPosX + 90, _startPosY + 10, 20, 40);
|
|
||||||
g.DrawRectangle(pen, _startPosX + 90, _startPosY, 15, 15);
|
|
||||||
g.DrawRectangle(pen, _startPosX + 90, _startPosY + 45, 15, 15);
|
|
||||||
|
|
||||||
g.FillEllipse(dopBrush, _startPosX + 90, _startPosY, 20, 20);
|
|
||||||
g.FillEllipse(dopBrush, _startPosX + 90, _startPosY + 40, 20, 20);
|
|
||||||
g.FillRectangle(dopBrush, _startPosX + 90, _startPosY + 10, 20, 40);
|
|
||||||
g.FillRectangle(dopBrush, _startPosX + 90, _startPosY + 1, 15, 15);
|
|
||||||
g.FillRectangle(dopBrush, _startPosX + 90, _startPosY + 45, 15, 15);
|
|
||||||
|
|
||||||
g.DrawEllipse(pen, _startPosX, _startPosY, 20, 20);
|
|
||||||
g.DrawEllipse(pen, _startPosX, _startPosY + 40, 20, 20);
|
|
||||||
g.DrawRectangle(pen, _startPosX, _startPosY + 10, 20, 40);
|
|
||||||
g.DrawRectangle(pen, _startPosX + 5, _startPosY, 14, 15);
|
|
||||||
g.DrawRectangle(pen, _startPosX + 5, _startPosY + 45, 14, 15);
|
|
||||||
|
|
||||||
g.FillEllipse(dopBrush, _startPosX, _startPosY, 20, 20);
|
|
||||||
g.FillEllipse(dopBrush, _startPosX, _startPosY + 40, 20, 20);
|
|
||||||
g.FillRectangle(dopBrush, _startPosX + 1, _startPosY + 10, 25, 40);
|
|
||||||
g.FillRectangle(dopBrush, _startPosX + 5, _startPosY + 1, 15, 15);
|
|
||||||
g.FillRectangle(dopBrush, _startPosX + 5, _startPosY + 45, 15, 15);
|
|
||||||
|
|
||||||
g.DrawRectangle(pen, _startPosX + 35, _startPosY, 39, 15);
|
|
||||||
g.DrawRectangle(pen, _startPosX + 35, _startPosY + 45, 39, 15);
|
|
||||||
|
|
||||||
g.FillRectangle(dopBrush, _startPosX + 35, _startPosY + 1, 40, 15);
|
|
||||||
g.FillRectangle(dopBrush, _startPosX + 35, _startPosY + 45, 40, 15);
|
|
||||||
}
|
|
||||||
|
|
||||||
_startPosX += 10;
|
|
||||||
_startPosY += 5;
|
|
||||||
base.DrawTransport(g);
|
|
||||||
_startPosX -= 10;
|
|
||||||
_startPosY -= 5;
|
|
||||||
|
|
||||||
if (sportCar.SportLine)
|
|
||||||
{
|
|
||||||
g.FillRectangle(dopBrush, _startPosX + 76, _startPosY + 23, 24, 15);
|
|
||||||
g.FillRectangle(dopBrush, _startPosX + 36, _startPosY + 23, 34, 15);
|
|
||||||
g.FillRectangle(dopBrush, _startPosX + 11, _startPosY + 23, 14, 15);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (sportCar.Wing)
|
|
||||||
{
|
|
||||||
g.FillRectangle(dopBrush, _startPosX, _startPosY + 5, 10, 50);
|
|
||||||
g.DrawRectangle(pen, _startPosX, _startPosY + 5, 10, 50);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user