}
fireEvent(new VertexMouseMoveEvent(vertexHitInfo.getVertex()));
return;
}
EdgeHitInfo edgeHitInfo = edgeHit(x, y, edgeMoveDistance);
if (edgeHitInfo != null) {
if (current != OVER_EDGE ||
currentVertical != edgeHitInfo.isVertical() ||
!currentLoc.equals(edgeHitInfo.getEdge())) {
fireOutEvent();
current = OVER_EDGE;
currentVertical = edgeHitInfo.isVertical();
currentLoc = edgeHitInfo.getEdge();
fireEvent(new EdgeMouseOverEvent(edgeHitInfo.isVertical(), edgeHitInfo.getEdge()));
}
fireEvent(new EdgeMouseMoveEvent(edgeHitInfo.isVertical(), edgeHitInfo.getEdge()));
return;
}
Vec2i cell = cellHit(x, y);
if (cell != null) {