21 lines
605 B
Java
21 lines
605 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;
|
|
}
|
|
}
|