public boolean pawnCapturing(int x1, int y1, int x2, int y2, String color, Square newSquare)
	{
		boolean capture = false;
		
		if(color == "White")
		{
			if( (((x2 == x1 + PAWN_MOVEMENT_RESTRICTION) || (x2 == x1 - PAWN_MOVEMENT_RESTRICTION)) && y2 == y1 + PAWN_MOVEMENT_RESTRICTION)
				&& newSquare.getPiece().getPieceType() != "-")
			{
				capture = true;
			}
		}
		else
		{
			if( (((x2 == x1 + PAWN_MOVEMENT_RESTRICTION) || (x2 == x1 - PAWN_MOVEMENT_RESTRICTION)) && y2 == y1 - PAWN_MOVEMENT_RESTRICTION)
				&& newSquare.getPiece().getPieceType() != "-")
			{
				capture = true;
			}
		}		
		return capture;
	}