示例#1
0
 public void clear()
 {
     NewAddress = "";
     PlaceTo    = null;
     PlaceWith  = null;
     foreach (RP r in List)
     {
         if (r.Parent == ID)
         {
             r.Address = Address;
         }
     }
     while (Clones.Count > 0)
     {
         RP f = Clones[0];
         f.clear();
         Clones.RemoveAt(0);
         List.Remove(f);
     }
     NewCount  = Count;
     NewSex    = Sex;
     NewParent = Parent;
 }