Rev | Line | |
---|
[10207] | 1 | #ifndef _BLACKSCREEN_H |
---|
| 2 | #define _BLACKSCREEN_H |
---|
| 3 | |
---|
| 4 | #include "world_entity.h" |
---|
| 5 | |
---|
[10210] | 6 | |
---|
[10207] | 7 | class TiXmlElement; |
---|
| 8 | class Material; |
---|
| 9 | |
---|
[10210] | 10 | class blackscreen : public WorldEntity |
---|
[10207] | 11 | { |
---|
| 12 | ObjectListDeclaration(blackscreen); |
---|
| 13 | |
---|
| 14 | private: |
---|
[10212] | 15 | float i; |
---|
| 16 | bool state; |
---|
[10207] | 17 | Material* material; |
---|
| 18 | |
---|
| 19 | public: |
---|
| 20 | blackscreen (); |
---|
| 21 | blackscreen(const TiXmlElement* root); |
---|
| 22 | virtual ~blackscreen (); |
---|
| 23 | |
---|
| 24 | void init(); |
---|
| 25 | virtual void loadParams(const TiXmlElement* root); |
---|
| 26 | |
---|
| 27 | void changeState (bool); |
---|
| 28 | virtual void tick (float time); |
---|
| 29 | virtual void draw() const; |
---|
| 30 | |
---|
| 31 | }; |
---|
| 32 | |
---|
| 33 | #endif /* _BLACKSCREEN_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.