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