@Override
	public void mouseDragged(MouseEvent e) {
		if(isIn){
			if(e.getX() - xOld > 0){
				camera.hoekHoriz-=1;
				xOld = e.getX();
			}
			if(e.getX() - xOld < 0){
				camera.hoekHoriz+=1;
				xOld = e.getX();
			}
			if(e.getY() - yOld > 0){
				camera.hoekVertic-=1;
				yOld = e.getY();
			}
			if(e.getY() - yOld < 0){
				camera.hoekVertic+=1;
				yOld = e.getY();
			}
		}
		
	}