Changeset 7392 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/atmospheric_engine.h
- Timestamp:
- Apr 27, 2006, 9:49:33 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/atmospheric_engine.h
r7381 r7392 15 15 { 16 16 public: 17 virtual~AtmosphericEngine();17 ~AtmosphericEngine(); 18 18 19 19 /** @returns a Pointer to the only object of this Class */ 20 20 inline static AtmosphericEngine* getInstance() { if (!AtmosphericEngine::singletonRef) AtmosphericEngine::singletonRef = new AtmosphericEngine(); return AtmosphericEngine::singletonRef; }; 21 21 22 v irtual void loadParams(const TiXmlElement* root);22 void loadParams(const TiXmlElement* root); 23 23 24 virtualbool init();24 // bool init(); 25 25 26 //virtual bool activate() = 0;27 //virtual bool deactivate() = 0;26 void draw() const; 27 void tick(float dt); 28 28 29 virtual void draw() const; 30 virtual void tick(float dt); 31 32 inline bool isActivated() const { return this->bActivated; } 29 // inline bool isActivated() const { return this->bActivated; } 33 30 34 31 void loadWeatherEffect(const TiXmlElement* root); … … 41 38 static AtmosphericEngine* singletonRef; //!< Pointer to the only instance of this Class 42 39 43 protected:44 bool bActivated;40 //protected: 41 // bool bActivated; 45 42 }; 46 43
Note: See TracChangeset
for help on using the changeset viewer.