Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/projectiles/guided_missile.h @ 10195

Last change on this file since 10195 was 9869, checked in by bensch, 18 years ago

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 1.2 KB
RevLine 
[4890]1/*!
[5759]2 * @file guided_missile.h
3 * @brief a GuidedMissile Projectile
[3708]4*/
5
[5759]6#ifndef _GUIDED_MISSILE_H
7#define _GUIDED_MISSILE_H
[3708]8
[3710]9#include "projectile.h"
[3708]10
11class Weapon;
[6622]12class SpriteParticles;
[5443]13class ParticleEmitter;
[5447]14class FastFactory;
[3708]15
[5759]16class GuidedMissile : public Projectile
[3708]17{
[9869]18  ObjectListDeclaration(GuidedMissile);
[5443]19  public:
[5759]20    GuidedMissile ();
21    virtual ~GuidedMissile ();
[3708]22
[5443]23    virtual void activate();
24    virtual void deactivate();
[4890]25
[5443]26    virtual void collidesWith(WorldEntity* entity, const Vector& location);
27
[9235]28    virtual void destroy (WorldEntity* killer);
[5443]29
30    virtual void tick (float time);
[5500]31    virtual void draw () const;
[5443]32
33
34  private:
[5447]35    static FastFactory*               fastFactory;
[6622]36    static SpriteParticles*           trailParticles;
37    static SpriteParticles*           explosionParticles;
[5443]38
[5447]39    ParticleEmitter*                  emitter;
[5760]40    float                             agility;
[5765]41    float                             maxVelocity;
[6162]42    float                             speed;
43    Vector                            diffVector ;
44    Vector                            correctionVector;
[5447]45
46    WorldEntity* hitEntity; // FIXME TEMPORARY
47
[3708]48};
49
[5759]50#endif /* _GUIDED_MISSILE_H */
Note: See TracBrowser for help on using the repository browser.