PIbd-11 Valiulov I.A. LabWork04 Hard #4
@ -4,9 +4,7 @@ import java.awt.*;
|
||||
|
||||
public class EntityShip {
|
||||
private int Speed;
|
||||
public int getSpeed() {return Speed;}
|
||||
private double Weight;
|
||||
public double getWeight() {return Weight;}
|
||||
private Color BodyColor;
|
||||
public Color getBodyColor() {return BodyColor;}
|
||||
public double Step;
|
||||
|
@ -5,7 +5,6 @@ public class EntityWarmlyShip extends EntityShip{
|
||||
public Color AdditionalColor;
|
||||
public Color getAdditionalColor() {return AdditionalColor;}
|
||||
public boolean ShipPipes;
|
||||
public boolean getShipPipes() {return ShipPipes;}
|
||||
public boolean FuelTank;
|
||||
public boolean getFuelTank() {return FuelTank;}
|
||||
public EntityWarmlyShip(int speed, double weight, Color bodyColor, Color additionalcolor, boolean sheeppipes, boolean fueltank)
|
||||
|
Loading…
Reference in New Issue
Block a user