Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/playability/src/world_entities/projectiles/mbolt.h @ 10042

Last change on this file since 10042 was 10042, checked in by marcscha, 17 years ago

mBolt related

File size: 1.0 KB
Line 
1/*!
2 * @file mbolt.h
3 * @brief medium blaster bolt
4*/
5
6#ifndef _MBOLT_H
7#define _MBOLT_H
8
9#include "projectile.h"
10#include "material.h"
11
12class Vector;
13class Weapon;
14class SpriteParticles;
15class ParticleEmitter;
16class FastFactory;
17
18class MBolt : public Projectile
19{
20  //ObjectListDeclaration(MBolt);
21  public:
22    MBolt ();
23    virtual ~MBolt ();
24
25
26    virtual void activate();
27    virtual void deactivate();
28
29    virtual void collidesWith(WorldEntity* entity, const Vector& location);
30
31    virtual void destroy (WorldEntity* killer);
32
33    virtual void tick (float dt);
34    virtual void draw () const;
35
36
37  private:
38    static FastFactory*               fastFactory;
39    static SpriteParticles*           trailParticles;
40    static SpriteParticles*           explosionParticles;
41
42    float                             angle;
43    static const float                rotationSpeed = 540;
44
45    ParticleEmitter*                  emitter;
46
47    Material*                         mat;
48
49
50    WorldEntity* hitEntity; // FIXME TEMPORARY
51};
52
53#endif /* _MBOLT_H */
Note: See TracBrowser for help on using the repository browser.