From 4c828eed809da78379386e7c7bb72e03397c9417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0=20=D0=91=D0=B5=D0=BB?= =?UTF-8?q?=D1=8F=D0=BD=D0=B8=D0=BD?= Date: Wed, 13 Sep 2023 18:56:22 +0400 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=8B=D0=B3=D1=80=D1=83=D0=B7=D0=BA?= =?UTF-8?q?=D0=B0=201=20=D0=BB=D0=B0=D0=B1=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tank/src/DrawingTank.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tank/src/DrawingTank.java b/Tank/src/DrawingTank.java index 1f363ce..607e662 100644 --- a/Tank/src/DrawingTank.java +++ b/Tank/src/DrawingTank.java @@ -119,6 +119,8 @@ public class DrawingTank { g2.fillRect(_startPosX + 50, _startPosY+5, 20, 2); g2.drawPolygon(xPointsGun,yPointsGun,nPointsGun); g2.fillPolygon(xPointsGun,yPointsGun,nPointsGun); + + } public void ChangeBorders(int width,int height)