source:
orxonox.OLD/trunk/src/lib/particles/dot_emitter.h
@
7914
Last change on this file since 7914 was 6825, checked in by bensch, 19 years ago | |
---|---|
File size: 528 bytes |
Rev | Line | |
---|---|---|
[4597] | 1 | /*! |
[6822] | 2 | * @file dot_emitter.h |
3 | * Definition of a DotEmitter | |
4 | */ | |
[3926] | 5 | |
[6822] | 6 | #ifndef _DOT_EMITTER_H |
7 | #define _DOT_EMITTER_H | |
[3926] | 8 | |
[6822] | 9 | #include "particle_emitter.h" |
[3926] | 10 | |
[4381] | 11 | //! A class to handle an Emitter. |
[6822] | 12 | class DotEmitter : public ParticleEmitter |
[6619] | 13 | { |
14 | friend class ParticleSystem; | |
15 | public: | |
[6825] | 16 | DotEmitter(float emissionRate = 1.0, float velocity = 1.0, float angle = .5); |
[6822] | 17 | DotEmitter(const TiXmlElement* root); |
18 | virtual ~DotEmitter(); | |
[4597] | 19 | |
[6825] | 20 | protected: |
[6822] | 21 | virtual void emitParticles(unsigned int count) const; |
[6619] | 22 | |
[6822] | 23 | private: |
24 | void init(); | |
[3926] | 25 | }; |
26 | ||
[6822] | 27 | #endif /* _DOT_EMITTER_H */ |
Note: See TracBrowser
for help on using the repository browser.