isCoordInCloseXy method
判断坐标是否在close表中
Implementation
bool isCoordInCloseXy(int x, int y) {
if (_closeList.length == 0) {
return false;
}
for (DFAStarNode node in _closeList) {
if (node.position!.x == x && node.position!.y == y) {
return true;
}
}
return false;
}