source:
orxonox.OLD/trunk/src/world_entities/projectiles/hyperblast.h
@
9227
Last change on this file since 9227 was 6821, checked in by bensch, 19 years ago | |
---|---|
File size: 854 bytes |
Rev | Line | |
---|---|---|
[4890] | 1 | /*! |
[6810] | 2 | * @file hyperblast.h |
3 | * @brief a Hyperblast Projectile | |
[3708] | 4 | */ |
5 | ||
[6810] | 6 | #ifndef _HYPERBLAST_H |
7 | #define _HYPERBLAST_H | |
[3708] | 8 | |
[3710] | 9 | #include "projectile.h" |
[3708] | 10 | |
11 | class Vector; | |
12 | class Weapon; | |
[6810] | 13 | class SparkParticles; |
[5443] | 14 | class ParticleEmitter; |
[5447] | 15 | class FastFactory; |
[3708] | 16 | |
[6810] | 17 | class Hyperblast : public Projectile |
[3708] | 18 | { |
[5443] | 19 | public: |
[6810] | 20 | Hyperblast (); |
21 | virtual ~Hyperblast (); | |
[3708] | 22 | |
23 | ||
[5443] | 24 | virtual void activate(); |
25 | virtual void deactivate(); | |
[4890] | 26 | |
[5443] | 27 | virtual void collidesWith(WorldEntity* entity, const Vector& location); |
28 | ||
29 | virtual void destroy (); | |
30 | ||
31 | virtual void tick (float time); | |
[5500] | 32 | virtual void draw () const; |
[5443] | 33 | |
34 | ||
35 | private: | |
[5447] | 36 | static FastFactory* fastFactory; |
[6810] | 37 | static SparkParticles* explosionParticles; |
[5443] | 38 | |
[5447] | 39 | ParticleEmitter* emitter; |
[6821] | 40 | float size; |
[5447] | 41 | |
42 | WorldEntity* hitEntity; // FIXME TEMPORARY | |
[3708] | 43 | }; |
44 | ||
[6810] | 45 | #endif /* _HYPERBLAST_H */ |
Note: See TracBrowser
for help on using the repository browser.