private void fireGameFieldDragged(final Point currentCell, final Point previousCell) { GameFieldDragEvent event = new GameFieldDragEvent(this, previousCell, currentCell); for (GameFieldInputListener listener : this.listenerList.getListeners(GameFieldInputListener.class)) { listener.gameFieldDragged(event); } }
private void fireGameFieldTouched(final Point touchedCell) { GameFieldTouchEvent event = new GameFieldTouchEvent(this, touchedCell); for (GameFieldInputListener listener : this.listenerList.getListeners(GameFieldInputListener.class)) { listener.gameFieldTouched(event); } }