2023-09-25 18:40:25 +04:00
|
|
|
import java.awt.*;
|
|
|
|
|
|
|
|
|
2023-10-07 21:42:37 +04:00
|
|
|
public class EntityContainerShip extends EntityShip{
|
2023-09-25 18:40:25 +04:00
|
|
|
public Color AdditionalColor;
|
|
|
|
public boolean Crane;
|
|
|
|
public boolean Conteiners;
|
|
|
|
public int Deck;
|
2023-10-09 23:11:13 +04:00
|
|
|
public int DeckType;
|
2023-10-07 21:42:37 +04:00
|
|
|
public EntityContainerShip(int speed, double weight, Color bodyColor, Color
|
2023-10-09 23:11:13 +04:00
|
|
|
additionalColor, boolean crane, boolean containers, int deck, int deckType)
|
2023-10-07 21:42:37 +04:00
|
|
|
{
|
|
|
|
super(speed, weight,bodyColor);
|
2023-09-25 18:40:25 +04:00
|
|
|
AdditionalColor = additionalColor;
|
|
|
|
Crane = crane;
|
|
|
|
Conteiners = containers;
|
|
|
|
Deck = deck;
|
2023-10-09 23:11:13 +04:00
|
|
|
DeckType = deckType;
|
2023-09-25 18:40:25 +04:00
|
|
|
}
|
|
|
|
}
|