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