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