private static void processNeighbors(NeighborHandler nh) {
        for (int i = nh.x - 1; i < nh.x + 2; i++) {
            for (int j = nh.y - 1; j < nh.y + 2; j++) {
                if (!Field.arePointsNear(i, j, nh.x, nh.y)) { continue; }
                if (!Field.getInstance().isInsideField(i-1, j-1)) { continue; }
                nh.handleNeighbor(i, j);
            }
        }
    }