PIbd-21_Markov_D.P._Contain.../EntityContainerShip.java
2022-12-02 00:06:03 +04:00

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;
}
}