public void checkFanCollisions()
	{
		int index=0;
		fanIDs = tileMap.getFanIDs();
		fanTileX = tileMap.getFanXCoords();
		fanTileY = tileMap.getFanYCoords();
		for(int i=0;i<fanTileX.size();i++)
		{
			fanDist = tileMap.getTile(fanIDs.get(i)).getFanHeight();
			if(640+20>fanTileX.get(i) && 640+8<fanTileX.get(i)+32)
			{
				if(360+8>fanTileY.get(i) && 360-8<fanTileY.get(i)+(fanDist*32)+24)
				{
					fanV = tileMap.getTile(fanIDs.get(i)).getVelocity();
					index = i;
					if(ySpd <=2){ySpd+=(int)(Math.round(fanV*( ((fanDist*32 - playerYPos)  / (fanDist*32)) ) ));} //bounce at top of fan
					else{ySpd = (int)(Math.round(fanV*( ((fanDist*32 - playerYPos)  / (fanDist*32)) ) ))+2;} // move up through fan
					System.out.println(index);
					inAir=true;
					if(index>0){break;}
				}
				
			}
			else if(inAir && ySpd==0){inAir=false;}
			playerYPos=Math.abs(360-fanTileY.get(index)-32);
		}
	}