Last change
on this file since 7376 was
6282,
checked in by bensch, 19 years ago
|
orxonox/trunk: merged the PowerUps back here
|
File size:
536 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file proto_class.h |
---|
3 | * @brief Interface for Worldentities that can picku up powerups. |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _EXTENDABLE_H |
---|
7 | #define _EXTENDABLE_H |
---|
8 | |
---|
9 | #include "base_object.h" |
---|
10 | |
---|
11 | // FORWARD DECLARATION |
---|
12 | class PowerUp; |
---|
13 | |
---|
14 | #include "power_ups/power_up.h" |
---|
15 | |
---|
16 | //! A class for ... |
---|
17 | class Extendable : virtual public BaseObject { |
---|
18 | |
---|
19 | public: |
---|
20 | // virtual ~Extendable(); |
---|
21 | virtual bool pickup(PowerUp* powerUp) { return false; }; |
---|
22 | |
---|
23 | protected: |
---|
24 | Extendable() { this->setClassID(CL_EXTENDABLE, "Extendable"); }; |
---|
25 | |
---|
26 | private: |
---|
27 | |
---|
28 | }; |
---|
29 | |
---|
30 | #endif /* _EXTENDABLE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.