public GamePanel(GameView gameView) {
		super();

		this.gameView = gameView;
		
		this.addMouseListener(new MouseAdapter() {

			@Override
			public void mouseClicked(MouseEvent e) {
				final int x = e.getX() / SQUARE_SIZE;
				final int y = e.getY()  / SQUARE_SIZE;
				try {
					gameView.clickSquare(x, y);
					repaint();
				} catch (GameFieldException e1) {
					
					// TODO Auto-generated catch block
					
					e1.printStackTrace();
				}
			}
			
		});
	}