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; } }
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; }
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); }
public NavPoint() { this.id = ""; this.playOrder = 0; this.text = ""; this.src = ""; this.parent = null; this.child = new List<NavPoint>(); }