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