Receives a connection from a logic sender.
Inheritance: MultiConnectionPointReceiver
Example #1
0
        public LightBridge(Puzzle owner)
            : base(owner)
        {
            defaultRight = Direction.Y;

            Type = TypeName;
            deletable = true;

            StartEnabled = true;

            ConnectionReceiver = new ConnectionLogicReceiver(this);
        }
Example #2
0
 internal CubeDropper(Puzzle owner)
     : base(owner)
 {
     Type = TypeName;
     deletable = true;
     ItemFacing = new ItemFacing(Direction.NegZ, Direction.X);
     cubeConnectionReceiver = new SingleConnectionPointReceiver(this, "CONNECTION_BOX_DROPPER");
     ConnectionReceiver = new ConnectionLogicReceiver(this);
 }
Example #3
0
        public AngledPanel(Puzzle owner)
            : base(owner)
        {
            defaultRight = Direction.X;

            Type = TypeName;
            deletable = true;

            ExtendAngle = AngledPanelExtendAngle.Angle45;
            StartDeployed = false;

            ConnectionReceiver = new ConnectionLogicReceiver(this);
        }
 /// <summary>
 /// Disconnects from the specified receiver.
 /// </summary>
 public void Disconnect(ConnectionLogicReceiver receiver)
 {
     base.Disconnect(receiver);
 }
 /// <summary>
 /// Connects to the specified receiver.
 /// </summary>
 public void ConnectTo(ConnectionLogicReceiver receiver)
 {
     base.ConnectTo(receiver);
 }