Example #1
0
 public NavPoint(String id, Int32 playOrder, String text, String src, NavPoint parent, List <NavPoint> child)
 {
     this.id        = id;
     this.playOrder = playOrder;
     this.text      = text;
     this.src       = src;
     this.parent    = parent;
     if (child == null)
     {
         this.child = new List <NavPoint>();
     }
     else
     {
         this.child = child;
     }
 }
Example #2
0
 public NavPoint(String id, Int32 playOrder, String text, String src, NavPoint parent, List<NavPoint> child)
 {
     this.id = id;
     this.playOrder = playOrder;
     this.text = text;
     this.src = src;
     this.parent = parent;
     if (child == null)
     {
         this.child = new List<NavPoint>();
     }
     else this.child = child;
 }
Example #3
0
 private void sister(NavPoint s)
 {
     s.PARENT = this.parent;
     if (this.parent.CHILD == null)
         this.parent.CHILD = new List<NavPoint>();
     this.parent.CHILD.Add(s);
 }
Example #4
0
 public NavPoint()
 {
     this.id = "";
     this.playOrder = 0;
     this.text = "";
     this.src = "";
     this.parent = null;
     this.child = new List<NavPoint>();
 }