internal CircuitWire GetWire(string wire) { if (!wires.ContainsKey(wire)) { wires[wire] = new CircuitWire(wire); } return(wires[wire]); }
internal void SetWireSignal(string wire, CircuitWire wire2Obj) { var wireObj = GetWire(wire); wireObj.OtherWire = wire2Obj; }
internal CircuitWire GetWire(string wire) { if (!wires.ContainsKey(wire)) { wires[wire] = new CircuitWire(wire); } return wires[wire]; }