Class SetupDescriptor

java.lang.Object
games.stendhal.server.core.config.zone.SetupDescriptor
Direct Known Subclasses:
ConfiguratorDescriptor, EntitySetupDescriptor

public abstract class SetupDescriptor extends Object
A base zone setup descriptor.
  • Field Details

  • Constructor Details

    • SetupDescriptor

      public SetupDescriptor()
      Create a base zone setup descriptor.
  • Method Details

    • getParameters

      public Map<String,​String> getParameters()
      Get the configuration parameters.
      Returns:
      A map of parameters.
    • setParameter

      public void setParameter(String name, String value)
      Set a configuration parameter.
      Parameters:
      name - A parameter name.
      value - A parameter value.
    • setup

      public abstract void setup(StendhalRPZone zone)
      Do appropriate zone setup.
      Parameters:
      zone - The zone to setup.