protected static float registerElement(MapElement element){
		float id = 0.0f;
		while(id == 0.0f || registeredMapElements.containsKey(id)){
			id = (new Random()).nextFloat();
		}registeredMapElements.put(id, element);
		return id;
	}