Ejemplo n.º 1
0
 public NotGate()
 {
     ShareOffsetBounds(new Bounds(-64, -20, 64, 40));
     this.Connections = new ConnectionPoint[] {
         ConnectionPoint.newOutput(0, 0), ConnectionPoint.newInput(-64, 0)
     };
 }
Ejemplo n.º 2
0
 public BasicGate()
 {
     this.ShareOffsetBounds(new Bounds(-96, -48, 96, 96));
     this.Connections = new ConnectionPoint[] {
         ConnectionPoint.newOutput(0, 0), ConnectionPoint.newInput(-96, -32),
         ConnectionPoint.newInput(-96, 32)
     };
 }
Ejemplo n.º 3
0
 public ToggleSwitch()
 {
     ShareOffsetBounds(new Bounds(-64, -32, 64, 64));
     this.Connections = new ConnectionPoint[] { ConnectionPoint.newOutput(0, 0) };
 }