Exemplo n.º 1
0
 public NotGate()
 {
     ShareOffsetBounds(new Bounds(-64, -20, 64, 40));
     this.Connections = new ConnectionPoint[] {
         ConnectionPoint.newOutput(0, 0), ConnectionPoint.newInput(-64, 0)
     };
 }
Exemplo 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)
     };
 }
Exemplo n.º 3
0
 public Led()
 {
     ShareOffsetBounds(new Bounds(0, -32, 64, 64));
     this.Connections = new ConnectionPoint[] { ConnectionPoint.newInput(0, 0) };
 }