| 
                Last change
                  on this file since 4332 was
                  3544,
                  checked in by bensch, 21 years ago
           | 
        
        
          | 
               
orxonox/trunk: now the delete-process is as inteded by c++ 
virtual ~ClassName extends deletion and deletes also the MasterClass 
 
           | 
        
        | 
            File size:
            318 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | /*!  | 
|---|
| 2 |     \file power_up.h | 
|---|
| 3 |     \brief A class representing a PowerUp in the world. | 
|---|
| 4 | */  | 
|---|
| 5 |  | 
|---|
| 6 | #ifndef _POWER_UP_H | 
|---|
| 7 | #define _POWER_UP_H | 
|---|
| 8 |  | 
|---|
| 9 | #include "data_tank.h" | 
|---|
| 10 | #include "ability.h" | 
|---|
| 11 | #include "world_entity.h" | 
|---|
| 12 |  | 
|---|
| 13 | class PowerUp : Ability, WorldEntity {  | 
|---|
| 14 |  | 
|---|
| 15 |  public: | 
|---|
| 16 |   PowerUp (); | 
|---|
| 17 |   virtual ~PowerUp (); | 
|---|
| 18 |    | 
|---|
| 19 | }; | 
|---|
| 20 |  | 
|---|
| 21 | #endif /* _POWER_UP_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.