Class DoubleConfigOption
java.lang.Object
zombie.config.ConfigOption
zombie.config.DoubleConfigOption
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected double
protected double
protected double
protected double
Fields inherited from class zombie.config.ConfigOption
name
-
Constructor Summary
ConstructorsConstructorDescriptionDoubleConfigOption
(String name, double _min, double _max, double _defaultValue) -
Method Summary
Methods inherited from class zombie.config.ConfigOption
getName, getValueAsLuaString
-
Field Details
-
value
protected double value -
defaultValue
protected double defaultValue -
min
protected double min -
max
protected double max
-
-
Constructor Details
-
DoubleConfigOption
-
-
Method Details
-
getType
- Specified by:
getType
in classConfigOption
-
getMin
public double getMin() -
getMax
public double getMax() -
resetToDefault
public void resetToDefault()- Specified by:
resetToDefault
in classConfigOption
-
setDefaultToCurrentValue
public void setDefaultToCurrentValue()- Specified by:
setDefaultToCurrentValue
in classConfigOption
-
parse
- Specified by:
parse
in classConfigOption
-
getValueAsString
- Specified by:
getValueAsString
in classConfigOption
-
setValueFromObject
- Specified by:
setValueFromObject
in classConfigOption
-
getValueAsObject
- Specified by:
getValueAsObject
in classConfigOption
-
isValidString
- Specified by:
isValidString
in classConfigOption
-
setValue
public void setValue(double _value) -
getValue
public double getValue() -
getDefaultValue
public double getDefaultValue() -
getTooltip
- Specified by:
getTooltip
in classConfigOption
-
makeCopy
- Specified by:
makeCopy
in classConfigOption
-