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; }
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; }
public OutputPin(Point TopLeft, int Width, int Height) : base(TopLeft, Width, Height) { Input = new WireHandle(new Point(TopLeft.X, TopLeft.Y + 30)); }