Example #1
0
    private void SetParent(FoldNodalLevel parent)
    {
        //if (parent != null)
        //{
        //    parent.
        //}

        parentNodalLevel = parent;
        //if ()
    }
Example #2
0
 public void Remove(FoldNodalLevel nodal)
 {
     for (int i = 0; i < childBetterList.size; i++)
     {
         if (childBetterList[i] == nodal)
         {
             childBetterList.RemoveAt(i);
             break;
         }
     }
 }
Example #3
0
    private int FindIndex(FoldNodalLevel nodal)
    {
        for (int i = 0; i < childBetterList.size; i++)
        {
            if (childBetterList[i] == nodal)
            {
                return(i);
            }
        }

        return(-1);
    }
Example #4
0
 public bool Contains(FoldNodalLevel nodal)
 {
     return(FindIndex(nodal) != -1);
 }
Example #5
0
 public void Add(FoldNodalLevel nodal)
 {
     childBetterList.Add(nodal);
 }