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();
|
2016-05-31 20:40:51 +00:00
|
|
|
m_vox->kill();
|
2016-05-14 06:33:21 +00:00
|
|
|
}
|
|
|
|
|
2016-07-14 04:54:46 +00:00
|
|
|
void Emitter::setPos(const Vector3f& pos) {}
|
2016-05-09 07:22:58 +00:00
|
|
|
|
2016-07-14 04:54:46 +00:00
|
|
|
void Emitter::setDir(const Vector3f& dir) {}
|
2016-05-09 07:22:58 +00:00
|
|
|
|
2016-07-14 04:54:46 +00:00
|
|
|
void Emitter::setMaxDist(float maxDist) {}
|
2016-05-09 07:22:58 +00:00
|
|
|
|
2016-07-14 04:54:46 +00:00
|
|
|
void Emitter::setMaxVol(float maxVol) {}
|
2016-05-09 07:22:58 +00:00
|
|
|
|
2016-07-14 04:54:46 +00:00
|
|
|
void Emitter::setMinVol(float minVol) {}
|
2016-05-09 07:22:58 +00:00
|
|
|
|
2016-07-14 04:54:46 +00:00
|
|
|
void Emitter::setFalloff(float falloff) {}
|
2016-05-03 01:16:26 +00:00
|
|
|
}
|