Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5603 was 5603, checked in by stefalie, 18 years ago

WorldEntities: Fixed bugs in bomb class

File size: 647 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;
11
12//! A Class to ...
13class Bomb : public Projectile
14{
15
16 public:
17  Bomb(const TiXmlElement* root = NULL);
18  virtual ~Bomb();
19
20  void loadParams(const TiXmlElement* root);
21  void init();
22
23//  virtual void postSpawn ();
24//  virtual void leftWorld ();
25
26
27  virtual void draw() const;
28  virtual void tick(float time);
29  virtual void collidesWith (WorldEntity* entity, const Vector& location);
30  virtual void activate();
31  virtual void deactivate();
32
33 private:
34  static FastFactory*               fastFactory;
35
36};
37
38#endif /* BOMB */
Note: See TracBrowser for help on using the repository browser.