if (c == null) {
return;
}
if (me.isPopupTrigger() && !me.isControlDown()) {
processBoardViewEvent(new BoardViewEvent(this, c, null, BoardViewEvent.BOARD_HEX_POPUP,
me.getModifiers()));
} else if (me.getClickCount() == 1 && me.isControlDown()) {
if (c.equals(hoverInfo.getLOS())) {
firstLOSCursor.hide();
hoverInfo.setLOS(null);
} else {
firstLOSCursor.move(c, game.getBoard().getHex(c));
firstLOSCursor.setColor(LOS_COLOR);
hoverInfo.setLOS(c);
}
secondLOSCursor.hide();
hoverInfo.setPosition(c);
refreshDisplayables();
} else if (me.getClickCount() == 1) {
processBoardViewEvent(new BoardViewEvent(this, c, null,
BoardViewEvent.BOARD_HEX_DRAGGED, me.getModifiers()));
processBoardViewEvent(new BoardViewEvent(this, c, null,
BoardViewEvent.BOARD_HEX_CLICKED, me.getModifiers()));
} else {
processBoardViewEvent(new BoardViewEvent(this, c, null,
BoardViewEvent.BOARD_HEX_DOUBLECLICKED, me.getModifiers()));
}
}