* @Post: no changes
	 * @Return: whether or not this point is under attack by an enemy pawn
	 */
	private boolean pawnCanAttack(Point pointToCheck) {
		ArrayList<Point> possiblePawnLocations= new ArrayList<Point>();

		//puts the appropriate positions a pawn could attack from into the list
		if(isWhitesTurn())
		{
			possiblePawnLocations.add(new Point(pointToCheck.x+1,pointToCheck.y+1));
			possiblePawnLocations.add(new Point(pointToCheck.x-1,pointToCheck.y+1));

		}else
		{
			possiblePawnLocations.add(new Point(pointToCheck.x+1,pointToCheck.y-1));
			possiblePawnLocations.add(new Point(pointToCheck.x-1,pointToCheck.y-1));

		}

		for(Point p : possiblePawnLocations)
		{
			if(myBoard.isOnBoard(p))
			{
				Piece thePiece = getPiece(p);
				if(thePiece instanceof Pawn&& thePiece.isWhite!=isWhitesTurn())
				{
					return true;
				}
			}
		}
		return false;
	}