Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/spaceshipcontrol/src/world_entities/weapons/guided_missile.h @ 6177

Last change on this file since 6177 was 6132, checked in by snellen, 19 years ago

guided_missile.cc in /world_entities/weapon updated

File size: 1.1 KB
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    float                             speed;
44    Vector                            diffVector ;
45    Vector                            correctionVector;
46
47    WorldEntity* hitEntity; // FIXME TEMPORARY
48
49};
50
51#endif /* _GUIDED_MISSILE_H */
Note: See TracBrowser for help on using the repository browser.