public void GetInput()
	{
		if(madeMove){
			return;
		}
		mouseX = Mouse.getX();
		mouseY = Mouse.getY();
		
		//swiping
		if(currentClick == true && hasSwiped == false){
			double swipeDistance = Math.sqrt(  Math.pow((double)(mouseY-startY),2) + Math.pow((double)(mouseX-startX),2) );
			if( swipeDistance > cardSize){
				mouseClicked(Mouse.getX(), Mouse.getY());
				hasSwiped=true;
				
			}
		
		}
		
		
		if (Mouse.isButtonDown(0) && currentClick==false){
			mouseClicked(Mouse.getX(), Mouse.getY());
			startX = Mouse.getX();
			startY = Mouse.getY();
			currentClick=true;
		}else if(!Mouse.isButtonDown(0)){
			hasSwiped=false;
			currentClick=false;
		}
	}