2016-05-03 01:16:26 +00:00
|
|
|
#include "amuse/Emitter.hpp"
|
2016-05-06 05:19:19 +00:00
|
|
|
#include "amuse/Voice.hpp"
|
2016-05-14 06:33:21 +00:00
|
|
|
#include "amuse/Engine.hpp"
|
2016-05-03 01:16:26 +00:00
|
|
|
|
|
|
|
namespace amuse
|
|
|
|
{
|
|
|
|
|
2016-05-14 22:38:37 +00:00
|
|
|
Emitter::~Emitter() {}
|
|
|
|
|
2016-05-14 06:33:21 +00:00
|
|
|
Emitter::Emitter(Engine& engine, const AudioGroup& group, std::shared_ptr<Voice>&& vox)
|
|
|
|
: Entity(engine, group, vox->getObjectId()), m_vox(std::move(vox))
|
2016-05-03 01:16:26 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2016-05-14 06:33:21 +00:00
|
|
|
void Emitter::_destroy()
|
|
|
|
{
|
|
|
|
Entity::_destroy();
|
|
|
|
m_engine._destroyVoice(m_vox.get());
|
|
|
|
}
|
|
|
|
|
2016-05-09 07:22:58 +00:00
|
|
|
void Emitter::setPos(const Vector3f& pos)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Emitter::setDir(const Vector3f& dir)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Emitter::setMaxDist(float maxDist)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Emitter::setMaxVol(float maxVol)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Emitter::setMinVol(float minVol)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void Emitter::setFalloff(float falloff)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2016-05-03 01:16:26 +00:00
|
|
|
}
|