package ProjectStormtrooper; import java.awt.*; public class EntityStormtrooper { public int Speed; public double Weight; public Color BodyColor; public Color AdditionalColor; public boolean Rockets; public boolean Bombs; public double Step() { return (double) Speed * 250 / Weight; } public void Init(int speed, double weight, Color bodyColor, Color additionalColor, boolean rockets, boolean bombs) { Speed = speed; Weight = weight; BodyColor = bodyColor; AdditionalColor = additionalColor; Rockets = rockets; Bombs = bombs; } }