Package org.terasology.asset.sources

Examples of org.terasology.asset.sources.AssetSourceCollection


            if (!location.isEmpty()) {
                List<AssetSource> sources = Lists.newArrayList();
                for (Path path : location) {
                    sources.add(createAssetSource(module.getId(), path));
                }
                AssetSource source = new AssetSourceCollection(module.getId(), sources);
                assetSources.put(source.getSourceId(), source);

                for (AssetUri asset : source.list()) {
                    uriLookup.get(asset.getAssetType()).put(asset.getAssetName(), asset.getModuleName(), asset);
                }
            }
        }
        applyOverrides();
View Full Code Here

TOP

Related Classes of org.terasology.asset.sources.AssetSourceCollection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.