private static Coords nextHex(Coords current, IdealHex iSrc, IdealHex iDest, int[] directions) {
public static Coords nextHex(Coords current, IdealHex iSrc, IdealHex iDest, int[] directions) {
    private static Coords nextHex(Coords current, IdealHex iSrc, IdealHex iDest, int[] directions) {        for (int i = 0; i < directions.length; i++) {            Coords testing = current.translated(directions[i]);            if (IdealHex.get(testing).isIntersectedBy(iSrc.cx, iSrc.cy, iDest.cx, iDest.cy)) {                return testing;            }        }        // if we're here then something's fishy!        throw new RuntimeException("Couldn't find the next hex!");    }