Lab4 Done++
This commit is contained in:
parent
d47bde2f70
commit
e405a0c857
@ -25,7 +25,6 @@ public class DrawingPlane {
|
||||
private final int PLANE_HEIGHT = 160;
|
||||
public int getHeight(){return PLANE_HEIGHT;}
|
||||
public DrawingPlane(int speed, double weight, Color bodyColor, int width, int height, int enginesType, int enginesNumber) {
|
||||
|
||||
if (width < PLANE_WIDTH || height < PLANE_HEIGHT)
|
||||
return;
|
||||
pictureWidth = width;
|
||||
|
Loading…
Reference in New Issue
Block a user