Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/weapons/test_bullet.h @ 5443

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
11class Vector;
12class Weapon;
13class ParticleSystem;
14class ParticleEmitter;
15
16class 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.