PIbd-11 Karakozov_AK LabWork03 Hard #3

Closed
insideq wants to merge 25 commits from LabWork03 into LabWork02
Showing only changes of commit a8b1651fd8 - Show all commits

View File

@ -1,33 +0,0 @@
import java.awt.*;
public class EntityExcavator {
private int Speed;
private double Weight;
private Color BodyColor;
public Color getBodyColor() {
return BodyColor;
}
private Color AdditionalColor;
public Color getAdditionalColor(){
return AdditionalColor;
}
private boolean Prop;
public boolean getProp(){
return Prop;
}
private boolean Ladle;
public boolean getLadle(){
return Ladle;
}
public double Step;
public void Init(int speed, double weight, Color bodyColor, Color additionalColor, boolean prop, boolean ladle){
Speed = speed;
Weight = weight;
BodyColor = bodyColor;
AdditionalColor = additionalColor;
Prop = prop;
Ladle = ladle;
Step = Speed * 100 / Weight;
}
}