@Override
    public Map<Circuit, Collection<TileRef>> getCircuits(Collection<Media> levels,
                                                         Media sheetsConfig,
                                                         Media groupsConfig)
    {
        final Collection<MapTile> mapsSet = new HashSet<>(levels.size());
        for (final Media level : levels)
        {
            final Services services = new Services();
            final MapTile map = services.create(MapTileGame.class);
            map.create(level, sheetsConfig);

            final MapTileGroup mapGroup = map.addFeatureAndGet(new MapTileGroupModel());
            final MapTileTransition mapTransition = map.addFeatureAndGet(new MapTileTransitionModel(services));

            mapGroup.loadGroups(groupsConfig);
            mapTransition.loadTransitions(levels, sheetsConfig, groupsConfig);

            mapsSet.add(map);
        }
        return getCircuits(mapsSet);
    }
@ Override public Map < Circuit , Collection < TileRef > > getCircuits ( Collection < Media > levels , Media sheetsConfig , Media groupsConfig ) { final Collection < MapTile > mapsSet = new HashSet < > ( levels . size ( ) ) ; for ( final Media level : levels ) { final Services services = new Services ( ) ; final MapTile map = services . create ( MapTileGame . class ) ; map . create ( level , sheetsConfig ) ; final MapTileGroup mapGroup = map . addFeatureAndGet ( new MapTileGroupModel ( ) ) ; final MapTileTransition mapTransition = map . addFeatureAndGet ( new MapTileTransitionModel ( services ) ) ; mapGroup . loadGroups ( groupsConfig ) ; mapTransition . loadTransitions ( levels , sheetsConfig , groupsConfig ) ; mapsSet . add ( map ) ; } return getCircuits ( mapsSet ) ; }
/*
CircuitsExtractor