source:
orxonox.OLD/branches/camera/src/world_entities/test_entity.h
@
10210
Last change on this file since 10210 was 10065, checked in by gfilip, 17 years ago | |
---|---|
File size: 535 bytes |
Rev | Line | |
---|---|---|
[4245] | 1 | #ifndef _TEST_ENTITY_H |
2 | #define _TEST_ENTITY_H | |
3 | ||
4 | #include "world_entity.h" | |
5 | ||
[6222] | 6 | class TiXmlElement; |
[10065] | 7 | class Material; |
[4245] | 8 | |
[9927] | 9 | class TestEntity : public WorldEntity |
[4245] | 10 | { |
[9927] | 11 | ObjectListDeclaration(TestEntity); |
[4245] | 12 | |
[10065] | 13 | private: |
14 | ||
15 | Material* material; | |
16 | ||
[9927] | 17 | public: |
18 | TestEntity (); | |
19 | TestEntity(const TiXmlElement* root); | |
20 | virtual ~TestEntity (); | |
[6222] | 21 | |
[9927] | 22 | void init(); |
23 | virtual void loadParams(const TiXmlElement* root); | |
[4488] | 24 | |
[10065] | 25 | void changeState (bool); |
[9927] | 26 | virtual void tick (float time); |
27 | virtual void draw() const; | |
[4245] | 28 | |
29 | }; | |
30 | ||
[10018] | 31 | #endif /* _TEST_ENTITY_H */ |
Note: See TracBrowser
for help on using the repository browser.