Last change
on this file since 5828 was
5796,
checked in by bensch, 19 years ago
|
orxonox/trunk: moved old world_entites branche out of the way
|
File size:
877 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file bomb.h |
---|
3 | * @brief description |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _BOMB_H |
---|
7 | #define _BOMB_H |
---|
8 | |
---|
9 | #include "projectile.h" |
---|
10 | class FastFactory; |
---|
11 | class ParticleSystem; |
---|
12 | class ParticleEmitter; |
---|
13 | |
---|
14 | //! A Class to ... |
---|
15 | class Bomb : public Projectile |
---|
16 | { |
---|
17 | |
---|
18 | public: |
---|
19 | Bomb(const TiXmlElement* root = NULL); |
---|
20 | virtual ~Bomb(); |
---|
21 | |
---|
22 | void loadParams(const TiXmlElement* root); |
---|
23 | void init(); |
---|
24 | |
---|
25 | // virtual void postSpawn (); |
---|
26 | // virtual void leftWorld (); |
---|
27 | |
---|
28 | |
---|
29 | virtual void draw() const; |
---|
30 | virtual void tick(float time); |
---|
31 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
---|
32 | virtual void activate(); |
---|
33 | virtual void detonate(); |
---|
34 | virtual void deactivate(); |
---|
35 | |
---|
36 | private: |
---|
37 | static FastFactory* fastFactory; |
---|
38 | static ParticleSystem* trailParticles; |
---|
39 | static ParticleSystem* explosionParticles; |
---|
40 | |
---|
41 | ParticleEmitter* emitter; |
---|
42 | |
---|
43 | }; |
---|
44 | |
---|
45 | #endif /* BOMB */ |
---|
Note: See
TracBrowser
for help on using the repository browser.