Last change
on this file since 6128 was
5985,
checked in by manuel, 19 years ago
|
merge: factory has now create from class name string function (svn merge -r 5955:HEAD ../trunk/ powerups/)
|
File size:
467 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 | // Extendable(); |
---|
21 | // virtual ~Extendable(); |
---|
22 | virtual bool pickup(PowerUp* powerUp) { return false; }; |
---|
23 | |
---|
24 | private: |
---|
25 | |
---|
26 | }; |
---|
27 | |
---|
28 | #endif /* _EXTENDABLE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.