using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AntiAircraftGun.Entities;
///
/// Класс - сущность Бронированная машина
///
public class EntityAircraftGun
{
///
/// Скорость
///
public int Speed { get; private set; }
///
/// Вес
///
public double Weight { get; private set; }
///
/// Основной цвет
///
public Color BodyColor { get; private set; }
///
/// Перемещение зенитной установки
///
public double Step => Speed * 100 / Weight;
///
/// Конструктор сущности
///
///
///
///
public EntityAircraftGun(int speed, double weight, Color bodyColor)
{
Speed = speed;
Weight = weight;
BodyColor = bodyColor;
}
}