Чистка кода
This commit is contained in:
parent
6e1a5eb9c4
commit
393b97f071
@ -104,7 +104,7 @@ namespace AirBomber
|
||||
new Point(_startPosX + 1, _startPosY + 59),
|
||||
}
|
||||
);
|
||||
g.FillRectangle(bodyColor, _startPosX + 20, _startPosY + 50, 120, 20); //korpus
|
||||
g.FillRectangle(bodyColor, _startPosX + 20, _startPosY + 50, 120, 20); //body
|
||||
g.FillPolygon(additionalBrush, new Point[] //up left wing
|
||||
{
|
||||
new Point(_startPosX + 36, _startPosY + 49),
|
||||
@ -145,8 +145,8 @@ namespace AirBomber
|
||||
new Point(_startPosX, _startPosY + 59),
|
||||
}
|
||||
);
|
||||
g.DrawRectangle(pen, _startPosX + 19, _startPosY + 49, 121, 21); //корпус
|
||||
g.DrawPolygon(pen, new Point[] //верхнее left крыло
|
||||
g.DrawRectangle(pen, _startPosX + 19, _startPosY + 49, 121, 21); //body
|
||||
g.DrawPolygon(pen, new Point[] //up left wing
|
||||
{
|
||||
new Point(_startPosX + 35, _startPosY + 49),
|
||||
new Point(_startPosX + 35, _startPosY),
|
||||
@ -154,7 +154,7 @@ namespace AirBomber
|
||||
new Point(_startPosX + 55, _startPosY + 49),
|
||||
}
|
||||
);
|
||||
g.DrawPolygon(pen, new Point[] //нижнее left крыло
|
||||
g.DrawPolygon(pen, new Point[] //down left wing
|
||||
{
|
||||
new Point(_startPosX + 36, _startPosY + 71),
|
||||
new Point(_startPosX + 36, _startPosY + 116),
|
||||
@ -162,7 +162,7 @@ namespace AirBomber
|
||||
new Point(_startPosX + 54, _startPosY + 71),
|
||||
}
|
||||
);
|
||||
g.DrawPolygon(pen, new Point[] //up right крыло
|
||||
g.DrawPolygon(pen, new Point[] //up right wing
|
||||
{
|
||||
new Point(_startPosX + 120, _startPosY + 49),
|
||||
new Point(_startPosX + 120, _startPosY + 42),
|
||||
@ -170,7 +170,7 @@ namespace AirBomber
|
||||
new Point(_startPosX + 140, _startPosY + 49),
|
||||
}
|
||||
);
|
||||
g.DrawPolygon(pen, new Point[] //down right крыло
|
||||
g.DrawPolygon(pen, new Point[] //down right wing
|
||||
{
|
||||
new Point(_startPosX + 120, _startPosY + 70),
|
||||
new Point(_startPosX + 120, _startPosY + 77),
|
||||
|
@ -27,6 +27,5 @@ namespace AirBomber
|
||||
BombsColor = bombsColor;
|
||||
FuelTanks = fuelTanks;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user