Examples of instantiateAllOfType()


Examples of org.terasology.world.generator.plugin.WorldGeneratorPluginLibrary.instantiateAllOfType()

        return this;
    }

    public WorldBuilder addPlugins() {
        WorldGeneratorPluginLibrary pluginLibrary = CoreRegistry.get(WorldGeneratorPluginLibrary.class);
        for (FacetProvider facetProvider : pluginLibrary.instantiateAllOfType(FacetProviderPlugin.class)) {
            addProvider(facetProvider);
        }

        for (WorldRasterizer worldRasterizer : pluginLibrary.instantiateAllOfType(WorldRasterizerPlugin.class)) {
            addRasterizer(worldRasterizer);
View Full Code Here

Examples of org.terasology.world.generator.plugin.WorldGeneratorPluginLibrary.instantiateAllOfType()

        WorldGeneratorPluginLibrary pluginLibrary = CoreRegistry.get(WorldGeneratorPluginLibrary.class);
        for (FacetProvider facetProvider : pluginLibrary.instantiateAllOfType(FacetProviderPlugin.class)) {
            addProvider(facetProvider);
        }

        for (WorldRasterizer worldRasterizer : pluginLibrary.instantiateAllOfType(WorldRasterizerPlugin.class)) {
            addRasterizer(worldRasterizer);
        }

        return this;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.