2
0
Fork 0
OPL/Source/FloatParameter.cpp

28 lines
353 B
C++
Raw Permalink Normal View History

#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;
}