| 
                Last change
                  on this file since 4180 was
                  3578,
                  checked in by patrick, 21 years ago
           | 
        
        
          | 
               
orxonox/trunk: working on projectile, functions and doxy, modified the hit(…) function from world_entity 
 
           | 
        
        | 
            File size:
            462 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | #ifndef _ENVIRONEMENT_H | 
|---|
| 2 | #define _ENVIRONEMENT_H | 
|---|
| 3 |  | 
|---|
| 4 | #include "world_entity.h" | 
|---|
| 5 |  | 
|---|
| 6 |  | 
|---|
| 7 | class Environment : public WorldEntity  | 
|---|
| 8 | { | 
|---|
| 9 |   friend class World; | 
|---|
| 10 |  | 
|---|
| 11 |  public: | 
|---|
| 12 |   Environment (); | 
|---|
| 13 |   virtual ~Environment (); | 
|---|
| 14 |  | 
|---|
| 15 |    | 
|---|
| 16 |   virtual void tick (float time); | 
|---|
| 17 |   virtual void hit (WorldEntity* weapon, Vector* loc); | 
|---|
| 18 |   virtual void destroy (); | 
|---|
| 19 |   virtual void collide (WorldEntity* other,  Uint32 ownhitflags, Uint32 otherhitflags); | 
|---|
| 20 |   virtual void draw (); | 
|---|
| 21 |  | 
|---|
| 22 | }; | 
|---|
| 23 |  | 
|---|
| 24 | #endif /* _ENVIRONEMENT_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.