Лабараторная работа №4 1
This commit is contained in:
parent
8404340fc4
commit
b30f5254c1
@ -4,9 +4,7 @@ import java.awt.*;
|
|||||||
|
|
||||||
public class EntityShip {
|
public class EntityShip {
|
||||||
private int Speed;
|
private int Speed;
|
||||||
public int getSpeed() {return Speed;}
|
|
||||||
private double Weight;
|
private double Weight;
|
||||||
public double getWeight() {return Weight;}
|
|
||||||
private Color BodyColor;
|
private Color BodyColor;
|
||||||
public Color getBodyColor() {return BodyColor;}
|
public Color getBodyColor() {return BodyColor;}
|
||||||
public double Step;
|
public double Step;
|
||||||
|
@ -5,7 +5,6 @@ public class EntityWarmlyShip extends EntityShip{
|
|||||||
public Color AdditionalColor;
|
public Color AdditionalColor;
|
||||||
public Color getAdditionalColor() {return AdditionalColor;}
|
public Color getAdditionalColor() {return AdditionalColor;}
|
||||||
public boolean ShipPipes;
|
public boolean ShipPipes;
|
||||||
public boolean getShipPipes() {return ShipPipes;}
|
|
||||||
public boolean FuelTank;
|
public boolean FuelTank;
|
||||||
public boolean getFuelTank() {return FuelTank;}
|
public boolean getFuelTank() {return FuelTank;}
|
||||||
public EntityWarmlyShip(int speed, double weight, Color bodyColor, Color additionalcolor, boolean sheeppipes, boolean fueltank)
|
public EntityWarmlyShip(int speed, double weight, Color bodyColor, Color additionalcolor, boolean sheeppipes, boolean fueltank)
|
||||||
|
Loading…
Reference in New Issue
Block a user