2
0
Fork 0
OPL/Source/FloatParameter.cpp

27 lines
353 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;
}