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