Class SetupDescriptor
java.lang.Object
games.stendhal.server.core.config.zone.SetupDescriptor
- Direct Known Subclasses:
ConfiguratorDescriptor,EntitySetupDescriptor
A base zone setup descriptor.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe configuration parameters. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the configuration parameters.voidsetParameter(String name, String value) Set a configuration parameter.abstract voidsetup(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.
-