Esempio n. 1
0
 public void clearChilds()
 {
     for (int i = 0; i < children.Count; ++i)
     {
         ChildLink link = children[i];
         link.parent.removeChild(link.child);
     }
     children.Clear();
 }
Esempio n. 2
0
        public void add(DisplayObjectContainer parent, DisplayObject child)
        {
            parent.addChild(child);
            ChildLink link = new ChildLink();

            link.parent = parent;
            link.child  = child;
            children.Add(link);
        }