| Last change
                  on this file since 10620 was
                  10379,
                  checked in by patrick, 19 years ago | 
        
          | 
merged branche camera to trunk. resolved many conflicts as in the other projects too
 | 
        | File size:
            622 bytes | 
      
      
        
  | Line |  | 
|---|
| 1 | #ifndef _TEST_ENTITY_H | 
|---|
| 2 | #define _TEST_ENTITY_H | 
|---|
| 3 |  | 
|---|
| 4 | #include "world_entity.h" | 
|---|
| 5 | #include "cameraman.h" | 
|---|
| 6 |  | 
|---|
| 7 | class TiXmlElement; | 
|---|
| 8 | class Material; | 
|---|
| 9 |  | 
|---|
| 10 | class TestEntity : public WorldEntity | 
|---|
| 11 | { | 
|---|
| 12 | ObjectListDeclaration(TestEntity); | 
|---|
| 13 |  | 
|---|
| 14 | private: | 
|---|
| 15 |  | 
|---|
| 16 | CameraMan* CM; | 
|---|
| 17 |  | 
|---|
| 18 | public: | 
|---|
| 19 | TestEntity (); | 
|---|
| 20 | TestEntity(const TiXmlElement* root); | 
|---|
| 21 | virtual ~TestEntity (); | 
|---|
| 22 |  | 
|---|
| 23 | void init(); | 
|---|
| 24 | virtual void loadParams(const TiXmlElement* root); | 
|---|
| 25 | void test(); | 
|---|
| 26 | void t2(); | 
|---|
| 27 | void t3(); | 
|---|
| 28 | void t4(); | 
|---|
| 29 | void t5(); | 
|---|
| 30 | void changeState (bool); | 
|---|
| 31 | virtual void tick (float time); | 
|---|
| 32 | virtual void draw() const; | 
|---|
| 33 |  | 
|---|
| 34 | }; | 
|---|
| 35 |  | 
|---|
| 36 | #endif /* _TEST_ENTITY_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.