public Loader(World w) { Conveyor = new Conveyor(0, 570, w); PultOn += () => { Conveyor.TMove = new Task(() => Conveyor.Moving()); Conveyor.TMove.Start(); }; PultOn(); }
public void AddC(Conveyor c) { Monitor.Enter(World.locker); CList.Add(c); Monitor.Exit(World.locker); }
public void Fix(Conveyor c) { Thread.Sleep(200); c.temp = true; }