Class StringCVar
- java.lang.Object
-
- com.bombinggames.wurfelengine.core.cvar.CVar
-
- com.bombinggames.wurfelengine.core.cvar.StringCVar
-
public class StringCVar extends CVar
-
-
Constructor Summary
Constructors Constructor Description StringCVar(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDefaultValue()
java.lang.String
getName()
java.lang.String
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.String 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
-
-
-