* @Post: no changes
	 * @Return: whether or not this point is under attack by an enemy knight
	 */
	private boolean knightsCanAttack(Point pointToCheck) {
		// TODO Auto-generated method stub
		ArrayList<Point> possibleKnightAttacks= new ArrayList<Point>();

		//adds all L shaped shifts from the pointToCheck to the list
		for(int dx=-1;dx<=1;dx+=2)
		{
			for(int dy = -2; dy<=2;dy+=4)
			{
				possibleKnightAttacks.add(new Point(pointToCheck.x+dx,pointToCheck.y+dy));
				possibleKnightAttacks.add(new Point(pointToCheck.x+dy,pointToCheck.y+dx));
			}

		}
		for(Point p : possibleKnightAttacks)
		{
			if(myBoard.isOnBoard(p))//only check the point if it is on the board
			{
				Piece thePiece = getPiece(p);

				//if the piece isn't null, and it is a Knight, and it has the opposite color, the position is under attack
				if(thePiece!=null&&thePiece instanceof Knight&& thePiece.isWhite!=this.isWhitesTurn()){
					return true;
				}
			}
		}
		return false;
	}