private void askForItemToUse() {
		UseItemDialog dialog = new UseItemDialog("Choose item to use", 500,
				500, objectTron.getActivePlayer().getInventory());

		int answer = dialog.show();
		if (answer == JOptionPane.CANCEL_OPTION) {
			System.exit(0);
		} else if (answer == JOptionPane.OK_OPTION) {

			try {
				int chosenItemIndex = dialog.getChosenItemIndex();
				Item chosenItem = objectTron.getActivePlayer().getInventory().get(chosenItemIndex);
				UseItemAction useItemAction = null;
				
				if (chosenItem instanceof IdentityDisc) {
					ChooseDirectionDialog dirDialog = new ChooseDirectionDialog("Choose the direction",
							150, 175);
					dirDialog.show();
					useItemAction = objectTron.useItemAction(chosenItem, dirDialog.getChosenDirection());
				} else {
					useItemAction = objectTron.useItemAction(chosenItem);
				}
				
				doAction(useItemAction);
			} catch (IllegalArgumentException ex) {
				JOptionPane.showMessageDialog(null,
						ex.getMessage(), "Error",
						JOptionPane.ERROR_MESSAGE);
			}
		}
	}