private void processClick(int x, int y) {
		if (checkButtonClicks()) {
			if (!forceUpdate) {
				forceUpdate = true;
				updateScreen();
			}
			return;
		}
		if (gameVisible) {
			xClick = -1;
			yClick = -1;
			int xTemp;
			int yTemp;
			if (x <= xGridMin) {
				xTemp = 0;
			} else if (x >= xGridMax) {
				xTemp = xBoardDim - 1;
			} else {
				double xDouble = (double) x;
				xTemp = (int) Math.round(((xDouble -
						(double)xGridMin) / (double)xSpacing));
			}
			if (y <= yGridMin) {
				yTemp = 0;
			} else if (y >= yGridMax) {
				yTemp = yBoardDim - 1;
			} else {
				double yDouble = (double) y;
				yTemp = (int) Math.round(((yDouble -
						(double)yGridMin) / (double)ySpacing));
			}
			processCoordinate(xTemp, yTemp, x, y);
		}

		/*graphics.drawString("Point nearest click: " +
				Integer.toString(xTemp), 20, 40);
		graphics.drawString("Point nearest click: " +
				Integer.toString(yTemp), 20, 60);*/
	}