Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/world_entities/projectile.h @ 3597

Last change on this file since 3597 was 3583, checked in by patrick, 20 years ago

orxonox/trunk: some changes in the character_attributes, projectile and weapon.

File size: 520 bytes
Line 
1/*!
2    \projectile.h
3    \brief a projectile, that is been shooted by a weapon
4*/
5
6#ifndef _PROJECTILE_H
7#define _PROJECTILE_H
8
9#include "world_entity.h"
10
11
12class Projectile : public WorldEntity
13{
14  friend class World;
15
16 public:
17  Projectile ();
18  virtual ~Projectile ();
19
20  virtual void hit (WorldEntity* weapon, Vector* loc);
21  virtual void destroy ();
22
23  virtual void tick (float time);
24  virtual void draw ();
25
26 private:
27  //physical attriutes like: force, speed, acceleration etc.
28
29};
30
31#endif /* _PROJECTILE_H */
Note: See TracBrowser for help on using the repository browser.