source:
orxonox.OLD/trunk/src/world_entities/extendable.h
@
  6243
        
        | Last change on this file since 6243 was 6113, checked in by bensch, 20 years ago | |
|---|---|
| File size: 467 bytes | |
| Rev | Line | |
|---|---|---|
| [4838] | 1 | /*! | 
| 2 | * @file proto_class.h | |
| [5874] | 3 | * @brief Interface for Worldentities that can picku up powerups. | 
| [3245] | 4 | */ | 
| [1853] | 5 | |
| [5871] | 6 | #ifndef _EXTENDABLE_H | 
| 7 | #define _EXTENDABLE_H | |
| [1853] | 8 | |
| [5965] | 9 | #include "base_object.h" | 
| 10 | ||
| [4838] | 11 | // FORWARD DECLARATION | 
| [5965] | 12 | class PowerUp; | 
| [3543] | 13 | |
| [5985] | 14 | #include "power_ups/power_up.h" | 
| [3543] | 15 | |
| [3955] | 16 | //! A class for ... | 
| [5965] | 17 | class Extendable : virtual public BaseObject { | 
| [1853] | 18 | |
| [1904] | 19 | public: | 
| [5871] | 20 | // Extendable(); | 
| 21 | // virtual ~Extendable(); | |
| [5985] | 22 | virtual bool pickup(PowerUp* powerUp) { return false; }; | 
| [1853] | 23 | |
| [3245] | 24 | private: | 
| 25 | ||
| [1853] | 26 | }; | 
| 27 | ||
| [5871] | 28 | #endif /* _EXTENDABLE_H */ | 
Note: See TracBrowser
        for help on using the repository browser.
    


 
            







