Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/projectiles/rocket.h @ 10575

Last change on this file since 10575 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: 830 bytes
RevLine 
[4890]1/*!
[5456]2 * @file rocket.h
3 * @brief a Rocket Projectile
[3708]4*/
5
[5456]6#ifndef _ROCKET_H
7#define _ROCKET_H
[3708]8
[3710]9#include "projectile.h"
[3708]10
[6622]11class SpriteParticles;
[5443]12class ParticleEmitter;
[5447]13class FastFactory;
[3708]14
[5456]15class Rocket : public Projectile
[3708]16{
[9869]17  ObjectListDeclaration(Rocket);
[3708]18
[9869]19public:
20  Rocket ();
21  virtual ~Rocket ();
[3708]22
[4890]23
[9869]24  virtual void activate();
25  virtual void deactivate();
[5443]26
[9869]27  virtual void collidesWith(WorldEntity* entity, const Vector& location);
[5443]28
[9869]29  virtual void destroy (WorldEntity* killer);
[5443]30
[9869]31  virtual void tick (float time);
32  virtual void draw () const;
[5443]33
34
[9869]35private:
36  static FastFactory*               fastFactory;
37  static SpriteParticles*           trailParticles;
38  static SpriteParticles*           explosionParticles;
[5447]39
[9869]40  ParticleEmitter*                  emitter;
[5447]41
42
[9869]43  WorldEntity* hitEntity; // FIXME TEMPORARY
44
[3708]45};
46
[5456]47#endif /* _ROCKET_H */
Note: See TracBrowser for help on using the repository browser.