public LinkedGateBag( string name )
		{
			LinkedGate gateA = new LinkedGate();
			LinkedGate gateB = new LinkedGate();
			gateA.MateGate = gateB;
			gateB.MateGate = gateA;
			gateA.Name = name;
			gateB.Name = name;
			DropItem( gateA );
			DropItem( gateB );
		}
Exemplo n.º 2
0
        public LinkedGateBag(string name)
        {
            LinkedGate gateA = new LinkedGate();
            LinkedGate gateB = new LinkedGate();

            gateA.MateGate = gateB;
            gateB.MateGate = gateA;
            gateA.Name     = name;
            gateB.Name     = name;
            DropItem(gateA);
            DropItem(gateB);
        }
Exemplo n.º 3
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            switch (version)
            {
            case 2:
            {
                showWarning = reader.ReadBool();
                goto case 1;
            }

            case 1:
            {
                mateGate = reader.ReadItem() as LinkedGate;
                break;
            }
            }
        }
Exemplo n.º 4
0
        public override void Deserialize( GenericReader reader )
        {
            base.Deserialize( reader );

            int version = reader.ReadInt();

            switch ( version )
            {
                case 2:
                {
                    showWarning = reader.ReadBool();
                    goto case 1;
                }
                case 1:
                {
                    mateGate = reader.ReadItem() as LinkedGate;
                    break;
                }
            }
        }