Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

WorldEntities: Fixed bugs in bomb class

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