Class PluginParameterFactory<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>


  • public class PluginParameterFactory<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>
    extends java.lang.Object
    Factory for Plugin Parameters.
    • Constructor Detail

      • PluginParameterFactory

        public PluginParameterFactory​(@NotNull
                                      @NotNull ArchetypeSet<G,​A,​R> archetypeSet,
                                      @NotNull
                                      @NotNull MapManager<G,​A,​R> mapManager,
                                      @NotNull
                                      @NotNull ProjectSettings projectSettings,
                                      @NotNull
                                      @NotNull PathManager pathManager)
        Parameters:
        pathManager - the path manager instance for incverting files into path names
    • Method Detail

      • createStringParameter

        @NotNull
        public @NotNull PluginParameter<G,​A,​R,​?> createStringParameter​(@NotNull
                                                                                         @NotNull nu.xom.Element parameterNode)
        Creates a new StringParameter from XML representation.
        Parameters:
        parameterNode - the XML representation
        Returns:
        the string parameter
      • getTypes

        @NotNull
        public static @NotNull java.lang.String @NotNull [] getTypes()
        Returns all available plugin parameter type names.
        Returns:
        the type names types