示例#1
0
        public GDEDecoData ShallowClone()
        {
            string      newKey   = Guid.NewGuid().ToString();
            GDEDecoData newClone = new GDEDecoData(newKey);

            newClone.raceName  = raceName;
            newClone.typeName  = typeName;
            newClone.shapePath = shapePath;

            return(newClone);
        }
示例#2
0
        public GDEDecoData DeepClone()
        {
            GDEDecoData newClone = ShallowClone();

            return(newClone);
        }