Changeset 1563 for code/trunk/src/orxonox/tools/ParticleInterface.h
- Timestamp:
- Jun 7, 2008, 11:40:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/tools/ParticleInterface.h
r1553 r1563 35 35 #include <OgreParticleEmitter.h> 36 36 37 #include "core/OrxonoxClass.h" 37 38 #include "util/Math.h" 38 39 … … 44 45 namespace orxonox 45 46 { 46 class _OrxonoxExport ParticleInterface 47 class _OrxonoxExport ParticleInterface : public OrxonoxClass 47 48 { 48 49 public: 49 ParticleInterface(const std::string& templateName );50 ParticleInterface(const std::string& templateName, LODParticle::LOD detaillevel); 50 51 ~ParticleInterface(); 51 52 … … 74 75 75 76 void setEnabled(bool enable); 77 void detailLevelChanged(unsigned int newlevel); 76 78 77 79 inline void storeThisAsCurrentParticleInterface() … … 81 83 82 84 private: 85 void updateVisibility(); 86 83 87 static ParticleInterface* currentParticleInterface_s; 84 88 static unsigned int counter_s; 85 89 Ogre::SceneNode* sceneNode_; 86 90 Ogre::ParticleSystem* particleSystem_; 91 bool bVisible_; 92 bool bEnabled_; 93 unsigned int detaillevel_; //!< Detail level of this particle effect (0: off, 1: low, 2: normal, 3: high) 87 94 }; 88 95 }
Note: See TracChangeset
for help on using the changeset viewer.