private void initializeHex(int x, int y, boolean event) { IHex hex = getHex(x, y); if (hex == null) { return; } hex.clearExits(); for (int i = 0; i < 6; i++) { IHex other = getHexInDir(x, y, i); hex.setExits(other, i, roadsAutoExit); } if (event) { processBoardEvent(new BoardEvent(this, new Coords(x, y), BoardEvent.BOARD_CHANGED_HEX)); } }