public void doAction(Player player) throws InvalidActionException {
		if (player == null)
			throw new IllegalArgumentException("Player can't be null!");
		if (player.getRemainingActions() <= 0)
			throw new InvalidActionException("The player has no turns left!");
		if (!player.getInventory().contains(item))
			throw new InvalidActionException("The inventory of the player doesn't contain the selected item!");
		
		this.player = player;
		item.accept(this);
		
		/*item.setPosition(player.getPosition());
		item.setActive(true);*/
		grid.addElement(item);
		player.deleteItemFromInventory(item);
		player.decrementAction();
	}