| 
                Last change
                  on this file since 5644 was
                  5486,
                  checked in by bensch, 20 years ago
           | 
        
        
          | 
               
orxonox/trunk: subproject Collision Detection: now has its own WorldEntity 
 
           | 
        
        | 
            File size:
            756 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | /*! | 
|---|
| 2 |   \file collision_test_entity.h | 
|---|
| 3 |   \brief This file handles the collision_test_entity of the game | 
|---|
| 4 | */ | 
|---|
| 5 |  | 
|---|
| 6 | #ifndef _COLLISION_TEST_ENTITY_H | 
|---|
| 7 | #define _COLLISION_TEST_ENTITY_H | 
|---|
| 8 |  | 
|---|
| 9 | #include "world_entity.h" | 
|---|
| 10 |  | 
|---|
| 11 | //! collision_test_entity of orxonox | 
|---|
| 12 | /** | 
|---|
| 13 |    everything that does not interact with the player comes here | 
|---|
| 14 |    Collision_Test_Entity is a container for all the worldEntities that are non-interactive | 
|---|
| 15 | */ | 
|---|
| 16 | class CollisionTestEntity : public WorldEntity | 
|---|
| 17 | { | 
|---|
| 18 |   friend class World; | 
|---|
| 19 |  | 
|---|
| 20 |  public: | 
|---|
| 21 |   CollisionTestEntity (); | 
|---|
| 22 |   CollisionTestEntity (const TiXmlElement* root); | 
|---|
| 23 |   virtual ~CollisionTestEntity (); | 
|---|
| 24 |  | 
|---|
| 25 |   void init(); | 
|---|
| 26 |   void loadParams(const TiXmlElement* root); | 
|---|
| 27 |  | 
|---|
| 28 |  | 
|---|
| 29 |  | 
|---|
| 30 |   virtual void tick (float time); | 
|---|
| 31 |  | 
|---|
| 32 |   virtual void draw (); | 
|---|
| 33 |  | 
|---|
| 34 | }; | 
|---|
| 35 |  | 
|---|
| 36 | #endif /* _COLLISION_TEST_ENTITY_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.