Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/particles/dot_emitter.h @ 6823

Last change on this file since 6823 was 6823, checked in by bensch, 18 years ago

orxonox/trunk: BoxEmitter

File size: 556 bytes
Line 
1/*!
2 * @file dot_emitter.h
3 *  Definition of a DotEmitter
4 */
5
6#ifndef _DOT_EMITTER_H
7#define _DOT_EMITTER_H
8
9#include "particle_emitter.h"
10
11//! A class to handle an Emitter.
12class DotEmitter : public ParticleEmitter
13{
14  friend class ParticleSystem;
15public:
16  DotEmitter(const Vector& direction, float angle = .5,
17             float emissionRate = 1.0, float velocity = 1.0);
18  DotEmitter(const TiXmlElement* root);
19  virtual ~DotEmitter();
20
21
22  virtual void emitParticles(unsigned int count) const;
23
24private:
25  void init();
26};
27
28#endif /* _DOT_EMITTER_H */
Note: See TracBrowser for help on using the repository browser.