Package zombie.network
Class ServerOptions.IntegerServerOption
java.lang.Object
zombie.config.ConfigOption
zombie.config.IntegerConfigOption
zombie.network.ServerOptions.IntegerServerOption
- All Implemented Interfaces:
ServerOptions.ServerOption
- Enclosing class:
- ServerOptions
public static class ServerOptions.IntegerServerOption extends IntegerConfigOption implements ServerOptions.ServerOption
-
Field Summary
Fields inherited from class zombie.config.IntegerConfigOption
defaultValue, max, min, value
Fields inherited from class zombie.config.ConfigOption
name
-
Constructor Summary
Constructors Constructor Description IntegerServerOption(ServerOptions owner, java.lang.String name, int min, int max, int defaultValue)
-
Method Summary
Modifier and Type Method Description ConfigOption
asConfigOption()
java.lang.String
getTooltip()
Methods inherited from class zombie.config.IntegerConfigOption
getDefaultValue, getMax, getMin, getType, getValue, getValueAsObject, getValueAsString, isValidString, parse, resetToDefault, setDefaultToCurrentValue, setValue, setValueFromObject
Methods inherited from class zombie.config.ConfigOption
getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IntegerServerOption
public IntegerServerOption(ServerOptions owner, java.lang.String name, int min, int max, int defaultValue)
-
-
Method Details
-
asConfigOption
- Specified by:
asConfigOption
in interfaceServerOptions.ServerOption
-
getTooltip
public java.lang.String getTooltip()- Specified by:
getTooltip
in interfaceServerOptions.ServerOption
-