From 43596cc79d2d67a6a6280353db0594c83dcba3c7 Mon Sep 17 00:00:00 2001 From: 1yuee Date: Tue, 25 Oct 2022 16:34:45 +0400 Subject: [PATCH] Removed extra spaces. --- Classes/DrawingAircraft.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Classes/DrawingAircraft.java b/Classes/DrawingAircraft.java index d59be7b..efbb755 100644 --- a/Classes/DrawingAircraft.java +++ b/Classes/DrawingAircraft.java @@ -3,7 +3,6 @@ package Classes; import java.awt.*; import java.util.Random; - public class DrawingAircraft { public EntityAircraft Plane; @@ -88,7 +87,6 @@ public class DrawingAircraft public void DrawTransport(Graphics g) { - if (_startPosX < 0 || _startPosY < 0 || _pictureHeight == null || _pictureWidth == null) { return; @@ -138,7 +136,6 @@ public class DrawingAircraft g.setColor(Plane.BodyColor); g.fillPolygon(pathWing2); - //BackWings Polygon pathBackWing1 = new Polygon(); @@ -147,7 +144,6 @@ public class DrawingAircraft Point point3W = new Point(point2W.x + 15, point2W.y - 16); Point point4W = new Point(point3W.x, point1W.y); - pathBackWing1.addPoint(point1W.x, point1W.y); pathBackWing1.addPoint(point2W.x, point2W.y); pathBackWing1.addPoint(point3W.x, point3W.y); @@ -188,7 +184,6 @@ public class DrawingAircraft pathBoseBody.addPoint(point2N.x, point2N.y); pathBoseBody.addPoint(point3N.x, point3N.y); - g.setColor(Color.BLACK); g.drawPolygon(pathBoseBody); @@ -197,9 +192,6 @@ public class DrawingAircraft //Engines _engines.drawEngines(g,_startPosX,_startPosY, Plane.BodyColor); - - - } public void ChangeBorders(int width, int height)