Last change
on this file since 703 was
673,
checked in by rgrieder, 17 years ago
|
- deleted obsolete classes: BaseEntity, Entity, Light and SceneNode (please complain if not agreed)
- improved include guard naming consistency
|
File size:
538 bytes
|
Line | |
---|
1 | #ifndef _Explosion_H__ |
---|
2 | #define _Explosion_H__ |
---|
3 | |
---|
4 | #include "../particle/ParticleInterface.h" |
---|
5 | #include "WorldEntity.h" |
---|
6 | #include "Timer.h" |
---|
7 | |
---|
8 | namespace orxonox |
---|
9 | { |
---|
10 | class Explosion : public WorldEntity |
---|
11 | { |
---|
12 | public: |
---|
13 | Explosion(WorldEntity* owner = 0); |
---|
14 | virtual ~Explosion(); |
---|
15 | void destroyObject(); |
---|
16 | |
---|
17 | private: |
---|
18 | Timer<Explosion> destroyTimer_; |
---|
19 | float lifetime_; |
---|
20 | particle::ParticleInterface* particle_; |
---|
21 | }; |
---|
22 | } |
---|
23 | |
---|
24 | #endif /* _Explosion_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.