ISEbd-21 Nikolay Gapon LabWork01 HARD #1

Closed
NikGapon wants to merge 8 commits from LabWork01 into master
Showing only changes of commit 8f9f2d0fa4 - Show all commits

View File

@ -21,9 +21,10 @@ namespace Airbus
public void DrawPorthole(Graphics g, Color color, float posX, float posY)
{
for (int i = 0; i < (int)CountPorthole; i++)
for (int i = 0; i < (int)CountPorthole / 2; i++)
{
g.DrawEllipse(new(color, 2), posX + 150 - i * 7, posY + 30, 5, 5);
g.DrawEllipse(new(color, 2), posX + 125 - i * 7, posY + 30, 5, 5);
g.DrawEllipse(new(color, 2), posX + 125 - i * 7, posY + 40, 5, 5);
}
}