Files
BlitzNext/Runtime/blitz3d/emitter.hpp
T

32 lines
484 B
C++
Raw Normal View History

2014-01-31 08:23:00 +13:00
#ifndef EMITTER_H
#define EMITTER_H
2019-01-18 15:55:06 +01:00
#include "object.hpp"
2014-01-31 08:23:00 +13:00
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