24 lines
692 B
Java
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;
|
|
}
|
|
} |