| 
                Last change
                  on this file since 10514 was
                  10368,
                  checked in by patrick, 19 years ago
           | 
        
        
          | 
               
merged the branche playability into the trunk 
 
           | 
        
        | 
            File size:
            606 bytes
           | 
      
      
        
  | Rev | Line |   | 
|---|
| [9969] | 1 | #ifndef _TEST_ENTITY_H | 
|---|
 | 2 | #define _TEST_ENTITY_H | 
|---|
 | 3 |  | 
|---|
 | 4 | #include "world_entity.h" | 
|---|
 | 5 |  | 
|---|
 | 6 | class TiXmlElement; | 
|---|
| [9974] | 7 | class Material; | 
|---|
| [9969] | 8 |  | 
|---|
 | 9 | class TestEntity2 : public WorldEntity | 
|---|
 | 10 | { | 
|---|
 | 11 |     ObjectListDeclaration(TestEntity2); | 
|---|
 | 12 |  | 
|---|
 | 13 |   public: | 
|---|
 | 14 |     TestEntity2 (); | 
|---|
 | 15 |     TestEntity2(const TiXmlElement* root); | 
|---|
 | 16 |     virtual ~TestEntity2 (); | 
|---|
 | 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 |  | 
|---|
| [9974] | 25 |   private: | 
|---|
| [9989] | 26 |     virtual void updateAngle(); | 
|---|
 | 27 |  | 
|---|
| [9974] | 28 |     Material*       material; | 
|---|
| [9989] | 29 |     float           angle; | 
|---|
 | 30 |     float           rotationSpeed; | 
|---|
| [9969] | 31 | }; | 
|---|
 | 32 |  | 
|---|
 | 33 | #endif /* _TEST_ENTITY_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.