Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/new_class_id/src/world_entities/projectiles/test_bullet.h @ 9709

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

orxonox/branches/new_class_id: new_class ID working, adapdet many classes, and reinvented some of the ClassID stuff

File size: 943 bytes
RevLine 
[4890]1/*!
[3708]2    \projectile.h
[4836]3  *  a projectile, that is been shooted by a weapon
[3708]4*/
5
[3709]6#ifndef _TEST_BULLET_H
7#define _TEST_BULLET_H
[3708]8
[3710]9#include "projectile.h"
[3708]10
11class Vector;
12class Weapon;
[6622]13class SpriteParticles;
[5443]14class ParticleEmitter;
[5447]15class FastFactory;
[3708]16
[4890]17class TestBullet : public Projectile
[3708]18{
[9709]19  NewObjectListDeclaration(TestBullet);
20
[5443]21  public:
22    TestBullet ();
23    virtual ~TestBullet ();
[3708]24
25
[5443]26    virtual void activate();
27    virtual void deactivate();
[4890]28
[5443]29    virtual void collidesWith(WorldEntity* entity, const Vector& location);
30
[9235]31    virtual void destroy (WorldEntity* killer);
[5443]32
33    virtual void tick (float time);
[5500]34    virtual void draw () const;
[5443]35
36  private:
[5447]37    static FastFactory*               fastFactory;
[6622]38    static SpriteParticles*           trailParticles;
39    static SpriteParticles*           explosionParticles;
[5443]40
[5447]41    ParticleEmitter*                  emitter;
42
43
44    WorldEntity* hitEntity; // FIXME TEMPORARY
45
[3708]46};
47
[3709]48#endif /* _TEST_BULLET_H */
Note: See TracBrowser for help on using the repository browser.