public boolean hasItem(Point p)
	{	if(inventory.size()==0) return false;
		
		System.out.println("Clicked on (" + p.getX() + ", " + p.getY()+ ")");
		
		Point topLeft = new Point(IMG_XOFFSET, IMG_YOFFSET);
		
		
		int totalHeight = IMG_YOFFSET + ITEM_HEIGHT * inventory.size();
		if(withinBounds(p, topLeft, ITEM_WIDTH, totalHeight))
		{
			return true;
		}
		else {
			return false;	
		}
		
	}