Class SetupDescriptor
java.lang.Object
games.stendhal.server.core.config.zone.SetupDescriptor
- Direct Known Subclasses:
ConfiguratorDescriptor
,EntitySetupDescriptor
A base zone setup descriptor.
-
Field Summary
Modifier and TypeFieldDescriptionThe configuration parameters. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the configuration parameters.void
setParameter(String name, String value)
Set a configuration parameter.abstract void
setup(StendhalRPZone zone)
Do appropriate zone setup.
-
Field Details
-
parameters
The configuration parameters.
-
-
Constructor Details
-
SetupDescriptor
public SetupDescriptor()Create a base zone setup descriptor.
-
-
Method Details
-
getParameters
Get the configuration parameters.- Returns:
- A map of parameters.
-
setParameter
Set a configuration parameter.- Parameters:
name
- A parameter name.value
- A parameter value.
-
setup
Do appropriate zone setup.- Parameters:
zone
- The zone to setup.
-