using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjectAirFighter { public class EntityAirFighter { 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 AdditionalWings { get; private set; } public bool Rocket { get; private set; } public double Step => (double)Speed * 100 / Weight; public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool additionalWings, bool rocket) { Speed = speed; Weight = weight; BodyColor = bodyColor; AdditionalColor = additionalColor; AdditionalWings = additionalWings; Rocket = rocket; } } }