code: public boolean clear(TileBasedMap map, Space space) {
  		if (tileBased) {
  			return true;
  		}
  		
  		float x = 0;
  		boolean donex = false;
  		
  		while (x < space.getWidth()) {
  			float y = 0;
  			boolean doney = false;
  			
  			while (y < space.getHeight()) {
  				sx = (int) (space.getX()+x);
  				sy = (int) (space.getY()+y);
  				
  				if (map.blocked(this, sx, sy)) {
  					return false;
  				}
  				
  				y += 0.1f;
  				if ((y > space.getHeight()) && (!doney)) {
  					y = space.getHeight();
  					doney = true;
  				}
  			}
  			
  			
  			x += 0.1f;
  			if ((x > space.getWidth()) && (!donex)) {
  				x = space.getWidth();
  				donex = true;
  			}
  		}
  		
  		return true;
  	}
docs: Check if a particular space is clear of blockages
  
  @param map The map the spaces are being built from
  @param space The space to check
  @return True if there are no blockages in the space