|
Last change
on this file since 7679 was
7679,
checked in by amaechler, 20 years ago
|
|
branches/atmospheric_engine: cloud and lightening files
|
|
File size:
574 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 LighteningEffect : public WeatherEffect |
|---|
| 18 | { |
|---|
| 19 | public: |
|---|
| 20 | LighteningEffect(const TiXmlElement* root = NULL); |
|---|
| 21 | virtual ~LighteningEffect(); |
|---|
| 22 | |
|---|
| 23 | virtual void loadParams(const TiXmlElement* root); |
|---|
| 24 | |
|---|
| 25 | virtual bool init(); |
|---|
| 26 | |
|---|
| 27 | virtual bool activate(); |
|---|
| 28 | virtual bool deactivate(); |
|---|
| 29 | |
|---|
| 30 | virtual void tick(float dt); |
|---|
| 31 | |
|---|
| 32 | private: |
|---|
| 33 | |
|---|
| 34 | }; |
|---|
| 35 | |
|---|
| 36 | #endif /* _LIGHTENING_EFFECT */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.