Beispiel #1
0
 public bool isOpen(AStarNode node)
 {
     return(Array.IndexOf(_opened, node) > -1);
 }
Beispiel #2
0
 public void addToOpenList(AStarNode node)
 {
     _opened[_numOpened++] = node;
 }
Beispiel #3
0
 public void addToClosedList(AStarNode node)
 {
     _closed[_numClosed++] = node;
 }
Beispiel #4
0
 public bool isClosed(AStarNode node)
 {
     return(Array.IndexOf(_closed, node) > -1);
 }