Class BooleanCVar
- java.lang.Object
-
- com.bombinggames.wurfelengine.core.cvar.CVar
-
- com.bombinggames.wurfelengine.core.cvar.BooleanCVar
-
public class BooleanCVar extends CVar
-
-
Constructor Summary
Constructors Constructor Description BooleanCVar(boolean value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getDefaultValue()
java.lang.Boolean
getValue()
void
setDefaultValue(java.lang.Object defaultValue)
The value which is used for initializiation.void
setValue(java.lang.Object value)
java.lang.String
toString()
The values as string representation.
-
-
-
Method Detail
-
setValue
public void setValue(java.lang.Object value)
- Specified by:
setValue
in classCVar
- Parameters:
value
-- See Also:
CVar.setDefaultValue(java.lang.Object)
-
toString
public java.lang.String toString()
Description copied from class:CVar
The values as string representation.
-
getDefaultValue
public java.lang.Boolean getDefaultValue()
- Specified by:
getDefaultValue
in classCVar
- Returns:
-
setDefaultValue
public void setDefaultValue(java.lang.Object defaultValue)
Description copied from class:CVar
The value which is used for initializiation.- Specified by:
setDefaultValue
in classCVar
- Parameters:
defaultValue
-
-
-