From bac51aa40cf82e6698a6f7a615ccf330bedd753d 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: Sun, 29 Oct 2023 19:21:52 +0400 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=BE=D1=82=D0=BE=D0=B2=D0=B0=D1=8F=20?= =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82=D0=BE=D1=80=D0=BD?= =?UTF-8?q?=D0=B0=D1=8F=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tank/src/CountWheels.java | 4 ++-- Tank/src/DrawingWheelsCombination.java | 2 +- Tank/src/EntityArmoVehicle.java | 2 +- Tank/src/EntityTank.java | 3 +-- Tank/src/IMoveableObject.java | 2 +- Tank/src/Status.java | 2 +- 6 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Tank/src/CountWheels.java b/Tank/src/CountWheels.java index 2a7408e..dfe3b65 100644 --- a/Tank/src/CountWheels.java +++ b/Tank/src/CountWheels.java @@ -5,9 +5,9 @@ public enum CountWheels { Five(5); private final int Value; CountWheels(int Count){ - Value=Count; + Value = Count; } public int getCountWheels(){ return Value; } -} +} \ No newline at end of file diff --git a/Tank/src/DrawingWheelsCombination.java b/Tank/src/DrawingWheelsCombination.java index 000dea2..80f46a1 100644 --- a/Tank/src/DrawingWheelsCombination.java +++ b/Tank/src/DrawingWheelsCombination.java @@ -106,4 +106,4 @@ public class DrawingWheelsCombination implements IOrnamentForm { CaterpillarStar(g,_startPosX + 105, _startPosY + 12); } } -} +} \ No newline at end of file diff --git a/Tank/src/EntityArmoVehicle.java b/Tank/src/EntityArmoVehicle.java index bc35d94..f8e09c8 100644 --- a/Tank/src/EntityArmoVehicle.java +++ b/Tank/src/EntityArmoVehicle.java @@ -14,4 +14,4 @@ public class EntityArmoVehicle { numWheel = _numWheel; Step = (double) Speed * 200 / Weight; } -} +} \ No newline at end of file diff --git a/Tank/src/EntityTank.java b/Tank/src/EntityTank.java index bca2e31..ee6a1c3 100644 --- a/Tank/src/EntityTank.java +++ b/Tank/src/EntityTank.java @@ -6,8 +6,7 @@ public class EntityTank extends EntityArmoVehicle { public boolean Caterpillar; public boolean Tower; - public EntityTank(int speed, double weight, Color bodyColor, int _numWheel, Color additionalColor, boolean bodyKit, boolean caterpillar, boolean tower) - { + public EntityTank(int speed, double weight, Color bodyColor, int _numWheel, Color additionalColor, boolean bodyKit, boolean caterpillar, boolean tower) { super(speed, weight, bodyColor, _numWheel); AdditionalColor = additionalColor; BodyKit = bodyKit; diff --git a/Tank/src/IMoveableObject.java b/Tank/src/IMoveableObject.java index d8f4c08..934005c 100644 --- a/Tank/src/IMoveableObject.java +++ b/Tank/src/IMoveableObject.java @@ -10,4 +10,4 @@ public interface IMoveableObject { /// Изменение направления пермещения объекта void MoveObject(Direction direction); -} +} \ No newline at end of file diff --git a/Tank/src/Status.java b/Tank/src/Status.java index 6467ed7..388d5b4 100644 --- a/Tank/src/Status.java +++ b/Tank/src/Status.java @@ -2,4 +2,4 @@ public enum Status { NotInit, InProgress, Finish -} +} \ No newline at end of file