public int checkButtons(boolean mLeft, int mx, int my){
		hovering = false;
		for(int i = 0; i < buttons.size(); i++){
			int bx = buttons.get(i).x, by = buttons.get(i).y;
			int bw = buttons.get(i).posX, bh = buttons.get(i).poxY;
			
			if(mx > bx && mx < bw && my > by && my < bh){
				hovering = true;
				if(mLeft && hovering) buttons.get(i).pressed = true;
				
				return buttons.get(i).buttonID;
			}
		}
		
		return -1;
	}