Files
BlitzNext/Runtime/blitz3d/emitter.hpp
T
Michael Fabian 'Xaymar' Dirks 2196cb8419 runtime: Formatting
2019-01-18 17:04:17 +01:00

38 lines
490 B
C++

#ifndef EMITTER_H
#define EMITTER_H
#include "object.hpp"
class gxSound;
class gxChannel;
class Emitter : public Object {
public:
Emitter();
Emitter(const Emitter& t);
~Emitter();
//Entity interface
Entity* clone()
{
return d_new Emitter(*this);
}
Emitter* getEmitter()
{
return this;
}
//Object interface
void beginRender(float tween);
//Public interface
gxChannel* emitSound(gxSound* sound);
private:
Vector pos, vel;
vector<gxChannel*> channels;
};
#endif