Last change
on this file since 5986 was
5973,
checked in by manuel, 18 years ago
|
needs fix in weapon_powert_up.cc (fabricate from string)
|
File size:
409 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 "world_entity.h" |
---|
10 | |
---|
11 | class PowerUp : public WorldEntity { |
---|
12 | |
---|
13 | public: |
---|
14 | void loadParams(const TiXmlElement* root); |
---|
15 | void collidesWith (WorldEntity* entity, const Vector& location); |
---|
16 | |
---|
17 | protected: |
---|
18 | PowerUp(); |
---|
19 | virtual ~PowerUp (); |
---|
20 | virtual void hide(); |
---|
21 | }; |
---|
22 | |
---|
23 | #endif /* _POWER_UP_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.