- Timestamp:
- Dec 11, 2008, 3:06:33 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/tools/ParticleInterface.h
r2087 r2406 37 37 #include "core/OrxonoxClass.h" 38 38 #include "util/Math.h" 39 #include "gamestates/GSRoot.h" 39 40 40 41 #define getAllEmitters() \ … … 45 46 namespace orxonox 46 47 { 47 class _OrxonoxExport ParticleInterface : public OrxonoxClass48 class _OrxonoxExport ParticleInterface : public TimeFactorListener 48 49 { 49 50 public: … … 69 70 unsigned int getNumAffectors() const; 70 71 71 float getSpeedFactor() const; 72 inline float getSpeedFactor() const 73 { return this->speedFactor_; } 72 74 void setSpeedFactor(float factor); 73 75 bool getKeepParticlesInLocalSpace() const; … … 90 92 { return ParticleInterface::currentParticleInterface_s; } 91 93 94 protected: 95 virtual void changedTimeFactor(float factor_new, float factor_old); 96 92 97 private: 93 98 void updateVisibility(); … … 102 107 bool bAllowedByLOD_; 103 108 unsigned int detaillevel_; //!< Detail level of this particle effect (0: off, 1: low, 2: normal, 3: high) 109 float speedFactor_; 104 110 Ogre::SceneManager* scenemanager_; 105 111 };
Note: See TracChangeset
for help on using the changeset viewer.