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