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