2013-09-09 16:14:43 +00:00
|
|
|
#include "FloatParameter.h"
|
|
|
|
|
|
|
|
|
|
|
|
FloatParameter::FloatParameter(String name)
|
|
|
|
{
|
|
|
|
this->name = name;
|
|
|
|
this->value = 0.0f;
|
|
|
|
}
|
|
|
|
|
|
|
|
FloatParameter::~FloatParameter(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
float FloatParameter::getParameter(void)
|
|
|
|
{
|
|
|
|
return value;
|
|
|
|
}
|
|
|
|
|
2018-10-29 14:31:20 +00:00
|
|
|
void FloatParameter::setParameter(float _value)
|
2013-09-09 16:14:43 +00:00
|
|
|
{
|
2018-10-29 14:31:20 +00:00
|
|
|
this->value = _value;
|
2013-09-09 16:14:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
String FloatParameter::getName(void)
|
|
|
|
{
|
|
|
|
return name;
|
|
|
|
}
|