private ArrayList<Piece> getWhiteTeamPieces()
	{
		ArrayList<Piece> whiteTeam = new ArrayList<>();
		
		// adds all pieces, except kings, to their appropriate teams in an ArrayList
		for(int y = 0; y < maxHeight; y++)
		{
			for(int x = 0; x < maxWidth; x++)
			{
				Piece currentPiece = board.getChessBoardSquare(x, y).getPiece();
				Position currentPosition = new Position(x, y);
				
				possibleMovesForPiece(currentPiece, currentPosition);
				
				if(currentPiece.getPieceColor().equals(white))
				{
					if(currentPiece.getPossibleMoves().size() > 0)
					{
						whiteTeam.add(currentPiece);
					}
				}
			}
		}
		
		return whiteTeam;
	}