PIbd-21 Potapov N.S. LabWork02 Hard #2

Closed
ns.potapov wants to merge 12 commits from LabWork02 into LabWork01
Showing only changes of commit 9db19f8397 - Show all commits

View File

@ -0,0 +1,19 @@
package ProjectStormtrooper;
import java.awt.*;
public class EntityPlane {
public int Speed;
public double Weight;
public Color BodyColor;
public double Step() {
return (double) Speed * 250 / Weight;
}
public EntityPlane(int speed, double weight, Color bodyColor) {
Speed = speed;
Weight = weight;
BodyColor = bodyColor;
}
}