Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/new_class_id/src/lib/graphics/effects/weather_effect.h @ 9686

Last change on this file since 9686 was 9685, checked in by bensch, 18 years ago

adapted many classes to the new ClassID System, now comes the hard part… Scripting… then Network… wow this will be so bad :/

File size: 662 bytes
Line 
1/*!
2 * @file weather_effect.h
3 *
4 */
5
6#ifndef _WEATHER_EFFECT_H
7#define _WEATHER_EFFECT_H
8
9#include "base_object.h"
10
11
12class WeatherEffect : public BaseObject
13{
14  NewObjectListDeclaration(WeatherEffect);
15
16  public:
17    WeatherEffect(const TiXmlElement* root = NULL);
18    virtual ~WeatherEffect();
19
20    virtual void loadParams(const TiXmlElement* root);
21
22    virtual void init();
23
24    virtual void activate() = 0;
25    virtual void 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
33  protected:
34    bool              bActivated;
35};
36
37
38#endif /* _WEATHER_EFFECT */
Note: See TracBrowser for help on using the repository browser.