public Workshop(Random m, CarService c, byte nM, Statistics s) { st = s; rnd = m; cs = c; queueWs = new List <Request>(); requestInWork = new List <Request>(); masterInWs = new List <Master>(); readyMasters = numMasters = nM; for (int i = 0; i < nM; i++) { masterInWs.Add(new Master(st)); } }
public EngineService(Random m, CarService cs, Statistics s, byte c = 1) : base(m, cs, c, s) { }
public GearboxService(Random m, CarService cs, Statistics s, byte c = 1) : base(m, cs, c, s) { }
public BodyShops(Random m, CarService cs, Statistics s, byte c = 1) : base(m, cs, c, s) { }
public TechInspection(Random m, CarService cs, Statistics s, byte c = 1) : base(m, cs, c, s) { }
public CarWorld(Model m, CarService cs) { modelObj = m; serviceObj = cs; }
public void create_objects() { cs = new CarService(rng, numMasters, st); cw = new CarWorld(this, cs); set_times(0, 0, 0, 4 * 24 * 60); }