using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pisek { internal class Model3 : Model2 { int pocetLopat; public Model3(int pocetAut, int pocetLopat) : base(pocetAut) { this.pocetLopat = pocetLopat; } public override void VytvorAuta() { for (int i = 0; i < pocetAut; i++) { new Auto($"Auto_{i}", this, 10, 120/pocetLopat, 5, 120); } } } }