switch (mtype) {
case BOARD_HEX_CLICK:
if ((modifiers & java.awt.event.InputEvent.CTRL_MASK) != 0) {
checkLOS(c);
} else {
processBoardViewEvent(new BoardViewEvent(this, c, null,
BoardViewEvent.BOARD_HEX_CLICKED, modifiers));
}
break;
case BOARD_HEX_DOUBLECLICK:
processBoardViewEvent(new BoardViewEvent(this, c, null,
BoardViewEvent.BOARD_HEX_DOUBLECLICKED, modifiers));
break;
case BOARD_HEX_DRAG:
processBoardViewEvent(new BoardViewEvent(this, c, null,
BoardViewEvent.BOARD_HEX_DRAGGED, modifiers));
break;
case BOARD_HEX_POPUP:
processBoardViewEvent(new BoardViewEvent(this, c, null,
BoardViewEvent.BOARD_HEX_POPUP, modifiers));
break;
}
}
}