Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/projectiles/mbolt.h @ 10765

Last change on this file since 10765 was 10368, checked in by patrick, 18 years ago

merged the branche playability into the trunk

File size: 1.0 KB
RevLine 
[9999]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"
[10042]10#include "material.h"
[9999]11
12class Vector;
13class Weapon;
14class SpriteParticles;
15class ParticleEmitter;
16class FastFactory;
[10081]17class Trail;
[9999]18
19class MBolt : public Projectile
20{
[10064]21  ObjectListDeclaration(MBolt);
[9999]22  public:
23    MBolt ();
24    virtual ~MBolt ();
25
26
27    virtual void activate();
28    virtual void deactivate();
29
[10274]30    virtual void hit (float damage, WorldEntity* entity);
[9999]31
32    virtual void destroy (WorldEntity* killer);
33
34    virtual void tick (float dt);
35    virtual void draw () const;
36
37  private:
38    static FastFactory*               fastFactory;
39    static SpriteParticles*           explosionParticles;
40
[10081]41    Trail*                            trail;
42
[10042]43    float                             angle;
[10064]44    static const float                rotationSpeed = 1080;
[10042]45
[9999]46    ParticleEmitter*                  emitter;
47
[10042]48    Material*                         mat;
[9999]49
[10042]50
[9999]51    WorldEntity* hitEntity; // FIXME TEMPORARY
52};
53
54#endif /* _MBOLT_H */
Note: See TracBrowser for help on using the repository browser.