protected void gameOver()
	{
		for (KeyListener listener : getKeyListeners())
			removeKeyListener(listener);
		for (MouseListener listener : getMouseListeners())
			removeMouseListener(listener);
		new GameOverMouseListener(this);

		JLabel label = new JLabel("<html>You finished in # minutes!<br>Do you want to try another?</html>", SwingConstants.CENTER);
		int option = JOptionPane.showOptionDialog(this, label, "Well done!", JOptionPane.DEFAULT_OPTION, JOptionPane.PLAIN_MESSAGE, null,
				new String[]{"Restart", "Quit"}, null);

		if (option == 0)
			System.out.println("RESTARTING"); //todo show selection
		else if (option == 1)
			System.exit(0);
	}