PIbd-22_Petrushin_E.A._Self.../EntitySPAU.java
2023-09-26 21:52:26 +04:00

24 lines
692 B
Java

import java.awt.Color;
public class EntitySPAU {
public int Speed;
public double Weight;
public Color BodyColor;
public Color AdditionalColor;
public boolean BodyKit;
public boolean Wing;
public boolean SportLine;
public double Step = (double)Speed * 100 / Weight;
public void Init(int speed, double weight, Color bodyColor, Color additionalColor, boolean bodyKit, boolean wing, boolean sportLine) {
Speed = speed;
Weight = weight;
Step = (double)Speed * 100 / Weight;
BodyColor = bodyColor;
AdditionalColor = additionalColor;
BodyKit = bodyKit;
Wing = wing;
SportLine = sportLine;
}
}