Last change
on this file since 7795 was
7699,
checked in by hdavid, 19 years ago
|
branches/atmospheric_engine: starting lightening implementation
|
File size:
619 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file lightening_effect.h |
---|
3 | */ |
---|
4 | |
---|
5 | #ifndef _LIGHTENING_EFFECT |
---|
6 | #define _LIGHTENING_EFFECT |
---|
7 | |
---|
8 | #include "vector.h" |
---|
9 | #include "vector2D.h" |
---|
10 | |
---|
11 | #include "weather_effect.h" |
---|
12 | |
---|
13 | #include "sound_buffer.h" |
---|
14 | #include "sound_source.h" |
---|
15 | |
---|
16 | |
---|
17 | class Billboard; |
---|
18 | |
---|
19 | class LighteningEffect : public WeatherEffect |
---|
20 | { |
---|
21 | public: |
---|
22 | LighteningEffect(const TiXmlElement* root = NULL); |
---|
23 | virtual ~LighteningEffect(); |
---|
24 | |
---|
25 | virtual void loadParams(const TiXmlElement* root); |
---|
26 | |
---|
27 | virtual bool init(); |
---|
28 | |
---|
29 | virtual bool activate(); |
---|
30 | virtual bool deactivate(); |
---|
31 | |
---|
32 | virtual void tick(float dt); |
---|
33 | |
---|
34 | private: |
---|
35 | Billboard* lightening; |
---|
36 | |
---|
37 | }; |
---|
38 | |
---|
39 | #endif /* _LIGHTENING_EFFECT */ |
---|
Note: See
TracBrowser
for help on using the repository browser.