source:
orxonox.OLD/trunk/src/world_entities/test_entity.h
@
10626
| Last change on this file since 10626 was 10379, checked in by patrick, 19 years ago | |
|---|---|
| File size: 622 bytes | |
| Rev | Line | |
|---|---|---|
| [4245] | 1 | #ifndef _TEST_ENTITY_H |
| 2 | #define _TEST_ENTITY_H | |
| 3 | ||
| 4 | #include "world_entity.h" | |
| [10379] | 5 | #include "cameraman.h" |
| [4245] | 6 | |
| [6222] | 7 | class TiXmlElement; |
| [10379] | 8 | class Material; |
| [4245] | 9 | |
| [9927] | 10 | class TestEntity : public WorldEntity |
| [4245] | 11 | { |
| [9927] | 12 | ObjectListDeclaration(TestEntity); |
| [4245] | 13 | |
| [10379] | 14 | private: |
| 15 | ||
| 16 | CameraMan* CM; | |
| 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); | |
| [10379] | 25 | void test(); |
| 26 | void t2(); | |
| 27 | void t3(); | |
| 28 | void t4(); | |
| 29 | void t5(); | |
| 30 | void changeState (bool); | |
| [9927] | 31 | virtual void tick (float time); |
| 32 | virtual void draw() const; | |
| [4245] | 33 | |
| 34 | }; | |
| 35 | ||
| 36 | #endif /* _TEST_ENTITY_H */ |
Note: See TracBrowser
for help on using the repository browser.










