PIbd-22_Aleikin_A.M._AirBom.../EntityWarplane.java

23 lines
567 B
Java
Raw Normal View History

2022-12-13 21:37:45 +04:00
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;}
}