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