All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gempukku.libgdx.graph.plugin.maps.MapsPluginRuntimeInitializer Maven / Gradle / Ivy

The newest version!
package com.gempukku.libgdx.graph.plugin.maps;

import com.gempukku.libgdx.graph.pipeline.RendererPipelineConfiguration;
import com.gempukku.libgdx.graph.plugin.PluginRegistry;
import com.gempukku.libgdx.graph.plugin.PluginRegistryImpl;
import com.gempukku.libgdx.graph.plugin.PluginRuntimeInitializer;
import com.gempukku.libgdx.graph.plugin.maps.producer.MapsLayerIdsRendererPipelineNodeProducer;
import com.gempukku.libgdx.graph.plugin.maps.producer.MapsLayersRendererPipelineNodeProducer;
import com.gempukku.libgdx.graph.plugin.maps.producer.MapsRendererPipelineNodeProducer;

public class MapsPluginRuntimeInitializer implements PluginRuntimeInitializer {
    private MapsPluginPrivateData data = new MapsPluginPrivateData();

    public static void register() {
        PluginRegistryImpl.register(MapsPluginRuntimeInitializer.class);
    }

    @Override
    public void initialize(PluginRegistry pluginRegistry) {
        RendererPipelineConfiguration.register(new MapsRendererPipelineNodeProducer());
        RendererPipelineConfiguration.register(new MapsLayersRendererPipelineNodeProducer());
        RendererPipelineConfiguration.register(new MapsLayerIdsRendererPipelineNodeProducer());

        pluginRegistry.registerPrivateData(MapsPluginPrivateData.class, data);
        pluginRegistry.registerPublicData(MapsPluginData.class, data);
    }

    @Override
    public void dispose() {

    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy