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