private boolean isKingInCheck(Position kingPosition)
	{
		boolean inCheck = false;
		String colorCheck = whitePlayerTurn() ? "Black" : "White";
		
//		System.out.println("\nPieces that can move for " + colorCheck + "'s Team");
		
		for(int y = 0; y < maxWidth; y++)
		{
			for(int x = 0; x < maxHeight; x++)
			{
				Piece currentPiece = board.getChessBoardSquare(x, y).getPiece();
				
				if(currentPiece != board.getBlankPiece() && currentPiece.getPieceColor().equals(colorCheck))
				{
					Position positionCheck = new Position(x, y);
					possibleMovesForPiece(currentPiece, positionCheck);
					
					ArrayList<Position> pieceMoves = currentPiece.getPossibleMoves();
					
					for(int i = 0; !inCheck && i < pieceMoves.size(); i++)
					{
						Position indexPosition = pieceMoves.get(i);
						
						if(indexPosition.equals(kingPosition))
						{
							inCheck = true;
						}
					}
				}
			}
		}		
		return inCheck;
	}