Changeset 4746 in orxonox.OLD for orxonox/trunk/src/lib/particles/particle_emitter.h
- Timestamp:
- Jul 1, 2005, 12:48:48 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/particles/particle_emitter.h
r4726 r4746 36 36 float emissionRate = 1.0, float velocity = 1.0); 37 37 ParticleEmitter(const TiXmlElement* root); 38 virtual ~ParticleEmitter( void);38 virtual ~ParticleEmitter(); 39 39 40 40 void init(); … … 59 59 60 60 /** \returns the type of the emitter */ 61 inline EMITTER_TYPE getType( void) const { return this->type; };61 inline EMITTER_TYPE getType() const { return this->type; }; 62 62 /** \returns the Type as a const char * */ 63 const char* getTypeC( void) const;63 const char* getTypeC() const; 64 64 /** \returns the Size of the emitter */ 65 inline float getSize( void) const { return this->emitterSize; };65 inline float getSize() const { return this->emitterSize; }; 66 66 /** \returns the emissionRate */ 67 inline float getEmissionRate( void) const { return this->emissionRate; };67 inline float getEmissionRate() const { return this->emissionRate; }; 68 68 /** \returns the inherit-speed-factor */ 69 inline float getInheritSpeed( void) const { return this->inheritSpeed; };69 inline float getInheritSpeed() const { return this->inheritSpeed; }; 70 70 /** \returns the SpreadAngle of the emitter */ 71 inline float getSpread( void) const { return this->angle; };71 inline float getSpread() const { return this->angle; }; 72 72 /** \returns the EmissionVelocity of the emitter */ 73 inline float getEmissionVelocity( void) const { return this->velocity; };73 inline float getEmissionVelocity() const { return this->velocity; }; 74 74 /** \returns the EmissionMomentum of this emitter */ 75 inline float getEmissionMomentum( void) const { return this->momentum; };75 inline float getEmissionMomentum() const { return this->momentum; }; 76 76 77 void debug( void) const;77 void debug() const; 78 78 79 79 private:
Note: See TracChangeset
for help on using the changeset viewer.