protected WireCreator(StreamingComponent visual, int pinIndex, EmploymentMatrix employmentMatrix) { Visual = visual; PinIndex = pinIndex; Wire = new StreamingWire(visual.SimpleShader); EmploymentMatrix = employmentMatrix; }
public OutputWireCreator(StreamingComponent visual, int pinIndex, EmploymentMatrix employmentMatrix) : base(visual, pinIndex, employmentMatrix) { PinPosition = visual.OutputPosition(pinIndex); Wire.Path = new List <Vector2> { PinPosition, PinPosition, PinPosition }; }