Exemplo n.º 1
0
 //Determine if it has arrived at the end point.
 public bool IsEndPoint(IWalledMazeNode currentNode)
 {
     if (currentNode == null)
     {
         return(false);
     }
     return(currentNode.Equals(_destination));
 }