Class ServerOptions.DoubleServerOption
java.lang.Object
zombie.config.ConfigOption
zombie.config.DoubleConfigOption
zombie.network.ServerOptions.DoubleServerOption
- All Implemented Interfaces:
ServerOptions.ServerOption
- Enclosing class:
ServerOptions
public static class ServerOptions.DoubleServerOption
extends DoubleConfigOption
implements ServerOptions.ServerOption
-
Field Summary
Fields inherited from class zombie.config.DoubleConfigOption
defaultValue, max, min, value
Fields inherited from class zombie.config.ConfigOption
name
-
Constructor Summary
ConstructorsConstructorDescriptionDoubleServerOption
(ServerOptions owner, String name, double min, double max, double defaultValue) -
Method Summary
Methods inherited from class zombie.config.DoubleConfigOption
getDefaultValue, getMax, getMin, getType, getValue, getValueAsObject, getValueAsString, isValidString, makeCopy, parse, resetToDefault, setDefaultToCurrentValue, setValue, setValueFromObject
Methods inherited from class zombie.config.ConfigOption
getName, getValueAsLuaString
-
Constructor Details
-
DoubleServerOption
public DoubleServerOption(ServerOptions owner, String name, double min, double max, double defaultValue)
-
-
Method Details
-
asConfigOption
- Specified by:
asConfigOption
in interfaceServerOptions.ServerOption
-
getTooltip
- Specified by:
getTooltip
in interfaceServerOptions.ServerOption
- Overrides:
getTooltip
in classDoubleConfigOption
-