27 lines
355 B
C++
27 lines
355 B
C++
#include "FloatParameter.h"
|
|
|
|
|
|
FloatParameter::FloatParameter(String name)
|
|
{
|
|
this->name = name;
|
|
this->value = 0.0f;
|
|
}
|
|
|
|
FloatParameter::~FloatParameter(void)
|
|
{
|
|
}
|
|
|
|
float FloatParameter::getParameter(void)
|
|
{
|
|
return value;
|
|
}
|
|
|
|
void FloatParameter::setParameter(float _value)
|
|
{
|
|
this->value = _value;
|
|
}
|
|
|
|
String FloatParameter::getName(void)
|
|
{
|
|
return name;
|
|
}
|