21 lines
720 B
Java
21 lines
720 B
Java
import java.awt.*;
|
|
|
|
public class GasolineTanker extends BaseTanker{
|
|
private Color AdditionalColor;
|
|
public Color GetAdditionalColor() {return AdditionalColor;}
|
|
private boolean BodyKit;
|
|
public boolean GetBodyKit() {return BodyKit;}
|
|
private boolean Wing;
|
|
public boolean GetWing() {return Wing;}
|
|
private boolean SportLine;
|
|
public boolean GetSportLine() {return SportLine;}
|
|
public GasolineTanker(int speed, double weight, Color bodyColor, Color additionalColor, boolean bodyKit, boolean wing, boolean sportLine)
|
|
{
|
|
super(speed, weight, bodyColor);
|
|
AdditionalColor = additionalColor;
|
|
BodyKit = bodyKit;
|
|
Wing = wing;
|
|
SportLine = sportLine;
|
|
}
|
|
}
|