if (!(game.getBoard().getHex(nextCoords).contains(Terrain.FIRE))) {
Hex nextHex = game.getBoard().getHex(nextCoords); if (nextHex != null && !(nextHex.contains(Terrain.FIRE))) {
    public void spreadFire(int x, int y, int windDir) {        Coords src = new Coords(x, y);        Coords nextCoords = src.translated(windDir);                spreadFire(nextCoords, 9);                // Spread to the next hex downwind on a 12 if the first hex wasn't burning...        if (!(game.getBoard().getHex(nextCoords).contains(Terrain.FIRE))) {            // we've already gone one step in the wind direction, now go another            spreadFire(nextCoords.translated(windDir), 12);        }                // spread fire 60 degrees clockwise....        spreadFire(src.translated((windDir + 1) % 6), 11);                // spread fire 60 degrees counterclockwise        spreadFire(src.translated((windDir + 5) % 6), 11);    }