public void clickSquare(int x, int y) throws GameFieldException {
		if (model.isAvailableUnit(x, y)) {
			selectUnit(x, y);
		} else if (isSelected() && model.canMove(selectedSquareCoord.x, selectedSquareCoord.y, x, y)) {
			model.makeMove(selectedSquareCoord.x, selectedSquareCoord.y, x, y);
			selectedSquareCoord = null;
			selectedSquares = null;
		}
	}