public void inAir() {
		System.out.println("ja");
		if(gravityAffected)
			velocity.subtract(Constants.gravity);
		
		if ( Tilemap.currentTilemap.isYBlocked((int) pos.getX(), (int) (pos.getY() + velocity.getY()), 64, 64, velocity.getY())){
			int margin = (int) ( 64-pos.getY() % 64);
			if (margin < 32 )
				velocity.setY(margin);
		}
			
	}