Changeset 8457 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/graphics_effect.cc
- 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.cc
r7193 r8457 32 32 @todo what to do, if no GraphicsEffect-Slots are open anymore ??? 33 33 */ 34 GraphicsEffect::GraphicsEffect(const TiXmlElement* root) 35 { 36 this->setClassID(CL_GRAPHICS_EFFECT, "GraphicsEffect"); 37 this->bActivated = false; 34 GraphicsEffect::GraphicsEffect(const TiXmlElement* root) { 35 this->setClassID(CL_GRAPHICS_EFFECT, "GraphicsEffect"); 36 this->bActivated = false; 38 37 } 39 38 … … 42 41 * destroys a GraphicsEffect 43 42 */ 44 GraphicsEffect::~GraphicsEffect() 45 { 46 43 GraphicsEffect::~GraphicsEffect() { 47 44 } 48 45 … … 51 48 * @param root The XML-element to load the GraphicsEffect from 52 49 */ 53 void GraphicsEffect::loadParams(const TiXmlElement* root) 54 { 55 BaseObject::loadParams(root); 50 void GraphicsEffect::loadParams(const TiXmlElement* root) { 51 BaseObject::loadParams(root); 56 52 } 57 53 … … 60 56 * initializes the graphics effect 61 57 */ 62 bool GraphicsEffect::init() 63 {} 58 void GraphicsEffect::init() {} 64 59 65 60 … … 68 63 * draws the effect, if needed 69 64 */ 70 void GraphicsEffect::draw() const 71 {} 65 void GraphicsEffect::draw() const {} 72 66 73 67 … … 76 70 * ticks the effect if there is any time dependancy 77 71 */ 78 void GraphicsEffect::tick(float dt) 79 {} 72 void GraphicsEffect::tick(float dt) {}
Note: See TracChangeset
for help on using the changeset viewer.