Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/atmospheric_engine/src/lib/graphics/effects/sun_effects.h @ 7379

Last change on this file since 7379 was 7379, checked in by hdavid, 18 years ago

branches/atmospheric_engine: basic framework

File size: 617 bytes
Line 
1/*!
2 * @file sun_effects.h
3 * 
4 */
5
6#ifndef _SUN_EFFECTS_H
7#define _SUN_EFFECTS_H
8
9#include "base_object.h"
10
11
12class TiXmlElement;
13
14class SunEffects : public BaseObject
15{
16  public:
17    SunEffects(const TiXmlElement* root = NULL);
18    virtual ~SunEffects();
19
20    virtual void loadParams(const TiXmlElement* root);
21
22    virtual bool init();
23
24    virtual bool activate() = 0;
25    virtual bool deactivate() = 0;
26
27    virtual void draw() const;
28    virtual void tick(float dt);
29
30    inline bool isActivated() const { return this->bActivated; }
31
32  protected:
33    bool              bActivated;
34};
35
36
37#endif /* _SUN_EFFECTS */
Note: See TracBrowser for help on using the repository browser.