Pibd-22_Emelyanov_A.S._Airb.../EntityAirbus.java
2022-11-29 00:13:32 +04:00

28 lines
689 B
Java

import java.awt.*;
public class EntityAirbus extends EntityPlane{
public Color DopColor;
public Color GetDopColor() {
return DopColor;
}
public boolean BodyKit;
public boolean GetBodyKit(){ return BodyKit; }
public boolean Wing;
public boolean GetWing(){ return Wing; }
public boolean SportLine;
public boolean GetSportLine(){ return SportLine; }
public EntityAirbus(int speed, float weight, Color bodyColor, Color dopColor, boolean bodyKit, boolean wing, boolean sportLine) {
super(speed, weight, bodyColor);
DopColor = dopColor;
BodyKit = bodyKit;
Wing = wing;
SportLine = sportLine;
}
}