Files
BlitzNext/Runtime/blitz3d/emitter.hpp
T
Michael Fabian 'Xaymar' Dirks 24788185aa runtime: CMake-ify
2019-01-18 15:55:06 +01:00

32 lines
484 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