示例#1
0
 public TwoInputGate(Point TopLeft, int Width, int Height) : base(TopLeft, Width, Height)
 {
     Input1        = new WireHandle(new Point(TopLeft.X, TopLeft.Y + 20));
     Input2        = new WireHandle(new Point(TopLeft.X, TopLeft.Y + 40));
     Output        = new WireHandle(new Point(TopLeft.X + 60, TopLeft.Y + 30));
     Output.Source = this;
 }
示例#2
0
文件: InputPin.cs 项目: Micevski/LCE
 public InputPin(Point TopLeft, int Width, int Height) : base(TopLeft, Width, Height)
 {
     Input         = State.Undefined;
     Output        = new WireHandle(new Point(TopLeft.X + 60, TopLeft.Y + 30));
     Output.Source = this;
 }
示例#3
0
 public OutputPin(Point TopLeft, int Width, int Height) : base(TopLeft, Width, Height)
 {
     Input = new WireHandle(new Point(TopLeft.X, TopLeft.Y + 30));
 }