Правки Lab1: удаление закоменченного кода и ненужной "pen"

This commit is contained in:
malimova 2023-11-26 12:52:04 +04:00
parent 1e36d10d47
commit 08e1a6549e

View File

@ -27,11 +27,8 @@ namespace AirBomber
} }
public void DrawEngines(Graphics g, int _startPosX, int _startPosY) public void DrawEngines(Graphics g, int _startPosX, int _startPosY)
{ {
Pen pen = new(Color.Black);
Brush enginesColor = new SolidBrush(Color.Black); Brush enginesColor = new SolidBrush(Color.Black);
//g.FillRectangle(enginesColor, _startX + 47, _startY + 20, 20, 15);
//g.FillEllipse(enginesColor, _startX + 80, _startY + 20, 20, 15);
g.FillPolygon(enginesColor, new Point[] //two up g.FillPolygon(enginesColor, new Point[] //two up
{ {
new Point(_startPosX + 51, _startPosY + 30), new Point(_startPosX + 51, _startPosY + 30),
@ -87,7 +84,6 @@ namespace AirBomber
} }
); );
} }
} }
} }
} }