lab#2
This commit is contained in:
parent
028093f591
commit
7f7aaaa294
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user