Ejemplo n.º 1
0
        public void Clone(uint id)
        {
            IClone prototype = GetClone(id);

            if (prototype == null)
            {
                return;
            }

            IClone clone = prototype.DoClone();

            clone.ID = GetNextID();

            kazarma.Add(clone.ID, clone);

            Console.WriteLine("Clone {0}: cloned", id);
        }