public void mouseAction(Coords coords, int mtype, int modifiers) { mouseAction(coords.x, coords.y, mtype, modifiers);
public void mouseAction(int x, int y, int mtype, int modifiers) { if(game.getBoard().contains(x, y)) { Coords c = new Coords(x, y); 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; } }
    public void mouseAction(Coords coords, int mtype, int modifiers) {        mouseAction(coords.x, coords.y, mtype, modifiers);    }