Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/weapons/guided_missile.h @ 5848

Last change on this file since 5848 was 5766, checked in by bensch, 19 years ago

orxonox/trunk: merged the GuidedMissiles to the trunk, without the changed aiming_turret

File size: 1001 bytes
Line 
1/*!
2 * @file guided_missile.h
3 * @brief a GuidedMissile Projectile
4*/
5
6#ifndef _GUIDED_MISSILE_H
7#define _GUIDED_MISSILE_H
8
9#include "projectile.h"
10
11class Vector;
12class Weapon;
13class ParticleSystem;
14class ParticleEmitter;
15class FastFactory;
16class Aim;
17
18class GuidedMissile : public Projectile
19{
20  public:
21    GuidedMissile ();
22    virtual ~GuidedMissile ();
23
24    virtual void activate();
25    virtual void deactivate();
26
27    virtual void collidesWith(WorldEntity* entity, const Vector& location);
28
29    virtual void destroy ();
30
31    virtual void tick (float time);
32    virtual void draw () const;
33
34
35  private:
36    static FastFactory*               fastFactory;
37    static ParticleSystem*            trailParticles;
38    static ParticleSystem*            explosionParticles;
39
40    ParticleEmitter*                  emitter;
41    float                             agility;
42    float                             maxVelocity;
43
44    WorldEntity* hitEntity; // FIXME TEMPORARY
45
46};
47
48#endif /* _GUIDED_MISSILE_H */
Note: See TracBrowser for help on using the repository browser.