Пример #1
0
        public override Moveable DeepCopy()
        {
            TriggerEntered copy = new TriggerEntered(raiserSlot.Fitter);

            if (RaiserBlock != null)
            {
                copy.RaiserBlock = (ObjectBlock)RaiserBlock.DeepCopy();
            }
            return(copy);
        }
Пример #2
0
        public override Moveable DeepCopy()
        {
            DoorOrPlaceableIsUnlocked copy = new DoorOrPlaceableIsUnlocked(raiserSlot.Fitter);

            if (RaiserBlock != null)
            {
                copy.RaiserBlock = (ObjectBlock)RaiserBlock.DeepCopy();
            }
            return(copy);
        }
Пример #3
0
        public override Moveable DeepCopy()
        {
            CreatureDies copy = new CreatureDies(raiserSlot.Fitter);

            if (RaiserBlock != null)
            {
                copy.RaiserBlock = (ObjectBlock)RaiserBlock.DeepCopy();
            }
            return(copy);
        }