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, valueFields 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 ConfigOptionasConfigOption()java.lang.StringgetTooltip()Methods inherited from class zombie.config.IntegerConfigOption
getDefaultValue, getMax, getMin, getType, getValue, getValueAsObject, getValueAsString, isValidString, parse, resetToDefault, setDefaultToCurrentValue, setValue, setValueFromObjectMethods inherited from class zombie.config.ConfigOption
getNameMethods 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:
asConfigOptionin interfaceServerOptions.ServerOption
-
getTooltip
public java.lang.String getTooltip()- Specified by:
getTooltipin interfaceServerOptions.ServerOption
-