public BitSource(Vec2 Position, Direction direction) : base(Position, direction, new BoxCollider(-.5f, -.5f, 1, 1)) { Inputs = Array.Empty <GatePin>(); Outputs = new GatePin[] { new GatePin(this, new Vec2()) }; }
public SevenSegment(Vec2 Position, Direction direction) : base(Position, direction, new BoxCollider(-1, -1, 2, 1)) { Inputs = new GatePin[] { new GatePin(this, new Vec2()) }; Outputs = Array.Empty <GatePin>(); }
public NotGate(Vec2 Position, Direction direction) : base(Position, direction, new BoxCollider(-1, -.5f, 2, 1)) { Inputs = new GatePin[] { new GatePin(this, new Vec2(-1, 0)) }; Outputs = new GatePin[] { new GatePin(this, new Vec2(1, 0)) }; }