Removed extra spaces.

This commit is contained in:
1yuee 2022-10-25 16:34:45 +04:00
parent daea9003f6
commit 43596cc79d

View File

@ -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)