Ejemplo n.º 1
0
 public bool AddNext(PathNode next)
 {
     if (HasNext(next))
     {
         return(false);
     }
     else
     {
         nextNodes.Add(next);
         next.AddPrevious(this);
         return(true);
     }
 }