31 lines
642 B
Java
31 lines
642 B
Java
import java.awt.*;
|
|
|
|
public class EntityContainerShip extends EntityShip {
|
|
private Color _DopColor;
|
|
private boolean _Crane;
|
|
private boolean _Containers;
|
|
|
|
public Color GetDopColor()
|
|
{
|
|
return _DopColor;
|
|
}
|
|
|
|
public boolean GetCrane()
|
|
{
|
|
return _Crane;
|
|
}
|
|
|
|
public boolean GetContainers()
|
|
{
|
|
return _Containers;
|
|
}
|
|
public EntityContainerShip(int speed, float weight, Color bodyColor, Color dopColor, boolean crane, boolean containers)
|
|
{
|
|
super(speed,weight,bodyColor);
|
|
_DopColor = dopColor;
|
|
_Crane = crane;
|
|
_Containers = containers;
|
|
}
|
|
|
|
}
|