Last change
on this file since 10101 was
10067,
checked in by snellen, 18 years ago
|
adapted the proto_world_entity.* to the classlistframework, start implementation of heathaze
|
File size:
644 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file heat_haze.h |
---|
3 | * A class to generate a heat haze effect |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _HEAT_HAZE_H |
---|
7 | #define _HEAT_HAZE_H |
---|
8 | |
---|
9 | #include "world_entity.h" |
---|
10 | |
---|
11 | //! A Class to generate a heat haze effect |
---|
12 | |
---|
13 | class HeatHaze : public WorldEntity |
---|
14 | { |
---|
15 | ObjectListDeclaration(HeatHaze); |
---|
16 | public: |
---|
17 | HeatHaze(const TiXmlElement* root = NULL); |
---|
18 | virtual ~HeatHaze(); |
---|
19 | |
---|
20 | virtual void loadParams(const TiXmlElement* root); |
---|
21 | void init(); |
---|
22 | |
---|
23 | virtual void postSpawn (); |
---|
24 | virtual void leftWorld (); |
---|
25 | |
---|
26 | |
---|
27 | virtual void draw() const; |
---|
28 | virtual void tick(float time); |
---|
29 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
---|
30 | |
---|
31 | private: |
---|
32 | |
---|
33 | }; |
---|
34 | |
---|
35 | #endif /* _HEAT_HAZE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.