Changeset 8457 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/graphics_effect.h
- Timestamp:
- Jun 15, 2006, 1:43:24 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/graphics_effect.h
r6815 r8457 12 12 13 13 //! A class that handles GraphicsEffects. The GraphicsEffectManager operates on this. 14 class GraphicsEffect : public BaseObject 15 { 16 public: 14 class GraphicsEffect : public BaseObject { 15 public: 17 16 GraphicsEffect(const TiXmlElement* root = NULL); 18 17 virtual ~GraphicsEffect(); … … 20 19 virtual void loadParams(const TiXmlElement* root); 21 20 22 virtual boolinit();21 virtual void init(); 23 22 24 virtual boolactivate() = 0;25 virtual booldeactivate() = 0;23 virtual void activate() = 0; 24 virtual void deactivate() = 0; 26 25 27 26 virtual void draw() const; 28 27 virtual void tick(float dt); 29 28 30 inline bool isActivated() const { return this->bActivated; } 29 inline bool isActivated() const { 30 return this->bActivated; 31 } 31 32 32 33 33 34 protected: 34 35 bool bActivated; 35 36 };
Note: See TracChangeset
for help on using the changeset viewer.