import java.awt.*; public class EntityWarplane extends EntityAirBomber { private Color DopColor; private boolean Engines; private boolean Weapons; public EntityWarplane(int speed, float weight, Color bodyColor, Color dopColor, boolean engines, boolean weapons) { super(speed, weight, bodyColor); DopColor = dopColor; Engines = engines; Weapons = weapons; } public Color GetDopColor(){return DopColor;} public boolean GetEngines(){return Engines;} public boolean GetWeapons(){return Weapons;} }