Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/guidedmissile/src/world_entities/weapons/bomb.h @ 5924

Last change on this file since 5924 was 5750, checked in by bensch, 19 years ago

orxonox/trunk: merged the WorldEntities into the Trunk.
Merged with command:
svn merge branches/world_entities/ trunk/ -r5516:HEAD

conflics from world_entities changed in favor of branches/world_entity
all other conflict in favor of the trunk

File size: 873 bytes
Line 
1/*!
2 * @file bomb.h
3 * @brief description
4*/
5
6#ifndef _BOMB_H
7#define _BOMB_H
8
9#include "projectile.h"
10class FastFactory;
11class ParticleSystem;
12class ParticleEmitter;
13
14//! A Class to ...
15class Bomb : public Projectile
16{
17
18 public:
19  Bomb(const TiXmlElement* root = NULL);
20  virtual ~Bomb();
21
22  void loadParams(const TiXmlElement* root);
23  void init();
24
25//  virtual void postSpawn ();
26//  virtual void leftWorld ();
27
28
29  virtual void draw() const;
30  virtual void tick(float time);
31  virtual void collidesWith (WorldEntity* entity, const Vector& location);
32  virtual void activate();
33  virtual void detonate();
34  virtual void deactivate();
35
36 private:
37  static FastFactory*               fastFactory;
38  static ParticleSystem*            trailParticles;
39  static ParticleSystem*            explosionParticles;
40
41  ParticleEmitter*                  emitter;
42
43};
44
45#endif /* BOMB */
Note: See TracBrowser for help on using the repository browser.