public void OnEnter(ITree <JumpNode> node, ITreeSearchContinuation treeSearchContinuation) { PickBestValue.OnEnter(node, treeSearchContinuation); var whiteField = node.Node.ActualGraph.GetWhiteField(); var bestAlready = _bestWhiteStonePostion; if (CuttoffToBestPosition(treeSearchContinuation, bestAlready, whiteField) == false) { if (CuttoffToTargetBorder) { CuttoffToBestPosition(treeSearchContinuation, _targetBorderRowEndIndex, whiteField); } } }
public void OnLeave(ITree <JumpNode> node, ITreeSearchContinuation treeSearchContinuation) { PickBestValue.OnLeave(node, treeSearchContinuation); }