From a0c597a08474584769b6f2dcb5ab02c215d5210a Mon Sep 17 00:00:00 2001 From: h8floom Date: Sat, 8 Jun 2024 13:37:51 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=20=E2=84=962?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/DrawingShip/DrawingContainerShip.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ProjectContainerShip/src/DrawingShip/DrawingContainerShip.java b/ProjectContainerShip/src/DrawingShip/DrawingContainerShip.java index 08d7958..ec2ce66 100644 --- a/ProjectContainerShip/src/DrawingShip/DrawingContainerShip.java +++ b/ProjectContainerShip/src/DrawingShip/DrawingContainerShip.java @@ -22,14 +22,14 @@ public class DrawingContainerShip extends DrawingShip { int craneX = _StartPosX + drawingShipWidth - 40; int craneY = _StartPosY + drawingShipHeight - 90; - + //Кран g.setColor(Color.BLACK); g.drawLine(craneX + 10, craneY + 40, craneX + 10, craneY); g.drawLine(craneX + 10, craneY, craneX + 50, craneY); g.drawLine(craneX + 10, craneY, craneX + 50, craneY + 5); g.drawLine(craneX + 50, craneY, craneX + 50, craneY + 30); - + //Хваталка крана g.drawLine(craneX + 40, craneY + 30, craneX + 60, craneY + 30); g.drawLine(craneX + 40, craneY + 30, craneX + 40, craneY + 35); g.drawLine(craneX + 60, craneY + 30, craneX + 60, craneY + 35); @@ -65,7 +65,7 @@ public class DrawingContainerShip extends DrawingShip { } if (containerShip.Container) { - // Draw containers + //Контейнер g.setColor(Color.BLACK); g.drawRect(_StartPosX + 40, containerY, 40, 15); g.setColor(containerShip.getAdditionalColor());