Package zombie.config
Class BooleanConfigOption
java.lang.Object
zombie.config.ConfigOption
zombie.config.BooleanConfigOption
- Direct Known Subclasses:
AnimationViewerState.BooleanDebugOption
,BooleanDebugOption
,DebugChunkState.BooleanDebugOption
,IsoRegionsRenderer.BooleanDebugOption
,SandboxOptions.BooleanSandboxOption
,ServerOptions.BooleanServerOption
,WorldMapRenderer.WorldMapBooleanOption
,ZombiePopulationRenderer.BooleanDebugOption
-
Field Summary
Fields inherited from class zombie.config.ConfigOption
name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getType()
boolean
getValue()
boolean
isValidString
(String string) void
void
void
void
setValue
(boolean boolean1) void
setValueFromObject
(Object object) Methods inherited from class zombie.config.ConfigOption
getName, getValueAsLuaString
-
Field Details
-
value
protected boolean value -
defaultValue
protected boolean defaultValue
-
-
Constructor Details
-
BooleanConfigOption
-
-
Method Details
-
getType
- Specified by:
getType
in classConfigOption
-
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
-
getValue
public boolean getValue() -
setValue
public void setValue(boolean boolean1) -
getDefaultValue
public boolean getDefaultValue() -
getTooltip
- Specified by:
getTooltip
in classConfigOption
-