コード例 #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
ファイル: CreatureDies.cs プロジェクト: KateHowland/flip
        public override Moveable DeepCopy()
        {
            CreatureDies copy = new CreatureDies(raiserSlot.Fitter);

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