Last change
on this file since 5443 was
5443,
checked in by bensch, 19 years ago
|
orxonox/trunk: heavy ParticleEmission from the Bullets
@patrick: i think, this is what you wanted me to do…
|
File size:
689 bytes
|
Line | |
---|
1 | /*! |
---|
2 | \projectile.h |
---|
3 | * a projectile, that is been shooted by a weapon |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _TEST_BULLET_H |
---|
7 | #define _TEST_BULLET_H |
---|
8 | |
---|
9 | #include "projectile.h" |
---|
10 | |
---|
11 | class Vector; |
---|
12 | class Weapon; |
---|
13 | class ParticleSystem; |
---|
14 | class ParticleEmitter; |
---|
15 | |
---|
16 | class TestBullet : public Projectile |
---|
17 | { |
---|
18 | public: |
---|
19 | TestBullet (); |
---|
20 | virtual ~TestBullet (); |
---|
21 | |
---|
22 | |
---|
23 | virtual void activate(); |
---|
24 | virtual void deactivate(); |
---|
25 | |
---|
26 | virtual void collidesWith(WorldEntity* entity, const Vector& location); |
---|
27 | |
---|
28 | virtual void destroy (); |
---|
29 | |
---|
30 | virtual void tick (float time); |
---|
31 | virtual void draw (); |
---|
32 | |
---|
33 | |
---|
34 | private: |
---|
35 | static ParticleSystem* explosionParticles; |
---|
36 | ParticleEmitter* emitter; |
---|
37 | |
---|
38 | }; |
---|
39 | |
---|
40 | #endif /* _TEST_BULLET_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.