22 lines
558 B
Java
22 lines
558 B
Java
import java.awt.*;
|
|
|
|
public class EntityMotorShip extends EntityWarmlyShip {
|
|
private Color DopColor;
|
|
private boolean Tubes;
|
|
private boolean Cistern;
|
|
|
|
public EntityMotorShip(int speed, float weight, Color bodyColor, Color dopColor, boolean tubes, boolean cistern)
|
|
{
|
|
super(speed, weight, bodyColor);
|
|
DopColor = dopColor;
|
|
Tubes = tubes;
|
|
Cistern = cistern;
|
|
}
|
|
|
|
public Color GetDopColor(){return DopColor;}
|
|
|
|
public boolean GetTubes(){return Tubes;}
|
|
|
|
public boolean GetCistern(){return Cistern;}
|
|
}
|