ISEbd-22 Alimova M.S. Lab Work 02 #2
@ -6,22 +6,15 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace AirBomber
|
||||
{
|
||||
public class EntityAirBomber
|
||||
public class EntityAirBomber : EntityAirPlane
|
||||
{
|
||||
public int Speed { get; private set; }
|
||||
public double Weight { get; private set; }
|
||||
public Color BodyColor { get; private set; }
|
||||
public Color AdditionalColor { get; private set; }
|
||||
public bool Bombs { get; private set; }
|
||||
public Color BombsColor { get; private set; }
|
||||
public bool FuelTanks { get; private set; }
|
||||
public double Step => (double)Speed * 100 / Weight;
|
||||
public void Init(int speed, double weight, Color bodyColor, Color
|
||||
public EntityAirBomber(int speed, double weight, Color bodyColor, Color
|
||||
additionalColor, bool bombs, Color bombsColor, bool fuelTanks)
|
||||
{
|
||||
Speed = speed;
|
||||
Weight = weight;
|
||||
BodyColor = bodyColor;
|
||||
AdditionalColor = additionalColor;
|
||||
Bombs = bombs;
|
||||
BombsColor = bombsColor;
|
||||
|
Loading…
Reference in New Issue
Block a user