Logo Search packages:      
Sourcecode: race version File versions


#ifndef emit_demo_emitter
#define emit_demo_emitrer

class Particle;
class Pixel;
class EmitterController;

class Emitter
      Emitter( int x, int y, float angle, Pixel pixel, EmitterController *_parent );

      void update( float time_elapsed );
      void move_particles();
      void add_particle();

      int x, y;                           // position of emitter on surface
      Pixel pixel;

      EmitterController *parent;

      float angle;

      int add_timer;
      std::vector<Particle*> particles;


Generated by  Doxygen 1.6.0   Back to index