public JunctionInput(Road road, MemoryBit inBit) { Line = road; InBit = inBit; // ReadySensor = rs; }
public ForkLoader(MemoryInt pos, MemoryBit fl, MemoryBit fr, MemoryBit l, MemoryBit x, MemoryBit z, MemoryBit al, MemoryBit ar, MemoryBit am, Road inputLine, Road outputLine, Side mySide) { pos.Value = 55; Pos = pos; ForkLeft = fl; ForkRight = fr; Lift = l; MovingX = x; MovingZ = z; AtLeft = al; AtMiddle = am; AtRight = ar; AtSide = new MemoryBit[2] { AtRight, AtLeft }; ForkSide = new MemoryBit[2] { ForkRight, ForkLeft }; InputLine = inputLine; OutputLine = outputLine; WhoAmI = mySide; }
public JunctionOutput(Road road, MemoryBit outBit) { Sensor = road.InSensor; Line = road; OutBit = outBit; }
public void Add(Road r) { Roads.Add(r); }