PIbd21.LyovushkinaA.A.Conta.../EntityContainerShip.java
2023-10-09 23:11:13 +04:00

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