22 lines
683 B
Java
22 lines
683 B
Java
import java.awt.*;
|
|
|
|
|
|
public class EntityContainerShip extends EntityShip{
|
|
public Color AdditionalColor;
|
|
public boolean Crane;
|
|
public boolean Conteiners;
|
|
public int Deck;
|
|
public int DeckType;
|
|
public EntityContainerShip(int speed, double weight, Color bodyColor, Color
|
|
additionalColor, boolean crane, boolean containers, int deck, int deckType)
|
|
{
|
|
super(speed, weight,bodyColor);
|
|
AdditionalColor = additionalColor;
|
|
Crane = crane;
|
|
Conteiners = containers;
|
|
Deck = deck;
|
|
DeckType = deckType;
|
|
}
|
|
public void setAdditionalColor(Color color){AdditionalColor = color;}
|
|
}
|