public void addLevel(Level level){
        foundLevels.put(level.id, level);

        ArrayList<Entrance> awaiting =awaitingEntrances.get(level.id);
        if(null != awaiting){
            for(Entrance e : awaiting){
                e.target = level;
            }
            awaitingEntrances.put(level.id, null);
        }
    }