public Transport(double Weight, double MaxSpeed, int SeatsCount, string Country) { ForSerialNumber++; this.SerialNumber = ForSerialNumber; this.SeatsCount = SeatsCount; this.Weight = Weight; this.MaxSpeed = MaxSpeed; this.Country = Country; this.Kind = KindsOfTransport.NotDetermined; }
public Transport(double Weight, double MaxSpeed, int SeatsCount, KindsOfTransport Kind) { ForSerialNumber++; this.SerialNumber = ForSerialNumber; this.SeatsCount = SeatsCount; this.Weight = Weight; this.MaxSpeed = MaxSpeed; this.Country = "USSR"; this.Kind = Kind; }
public Transport(double Weight, double MaxSpeed, int SeatsCount, string Country, int Year, KindsOfTransport Kind) { ForSerialNumber++; this.SerialNumber = ForSerialNumber; this.SeatsCount = SeatsCount; this.Weight = Weight; this.MaxSpeed = MaxSpeed; this.Country = Country; this.Year = Year; this.Kind = Kind; }
public Transport(KindsOfTransport Kind, string Country) { ForSerialNumber++; this.SerialNumber = ForSerialNumber; this.MaxFuel = 190; this.FuelConsumption = 160; this.Fuel = 190; this.Weight = 32; this.MaxSpeed = 55; this.SeatsCount = 5; this.Country = Country; this.Year = 1944; this.Kind = Kind; }
public Transport() { ForSerialNumber++; this.SerialNumber = ForSerialNumber; this.MaxFuel = 190; this.FuelConsumption = 160; this.Fuel = 190; this.Weight = 32; this.MaxSpeed = 55; this.SeatsCount = 5; this.Country = "USSR"; this.Year = 1944; this.Kind = KindsOfTransport.OwnAssembly; }
public Transport(KindsOfTransport Kind, ConsoleColor Color) { ForSerialNumber++; this.SerialNumber = ForSerialNumber; this.MaxFuel = 190; this.FuelConsumption = 160; this.Fuel = 190; this.Weight = 32; this.MaxSpeed = 55; this.SeatsCount = 5; this.Country = "USSR"; this.Year = 1944; this.Kind = Kind; this.Color = Color; }