This commit is contained in:
Danil Markov 2022-12-08 20:41:31 +04:00
parent 028093f591
commit 7f7aaaa294

View File

@ -2,10 +2,10 @@ import java.awt.*;
public class DrawingContainerShip extends DrawingShip
{
public DrawingContainerShip(int speed, float weight, Color bodyColor, Color dopColor, boolean dopDeck, boolean pool)
public DrawingContainerShip(int speed, float weight, Color bodyColor, Color dopColor, boolean crane, boolean containers)
{
super(speed,weight,bodyColor,130,45);
Ship = new EntityContainerShip(speed, weight, bodyColor, dopColor, dopDeck, pool);
Ship = new EntityContainerShip(speed, weight, bodyColor, dopColor, crane, containers);
}
@Override
public void DrawTransport(Graphics g) {