Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/guidedmissile/src/world_entities/weapons/ground_turret.h @ 5908

Last change on this file since 5908 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: 612 bytes
Line 
1/*!
2 * @file ground_turret.h
3 * @brief description
4*/
5
6#ifndef _GROUND_TURRET_H
7#define _GROUND_TURRET_H
8
9#include "npcs/npc.h"
10
11class Weapon;
12
13//! A Class to ...
14class GroundTurret : public NPC
15{
16
17 public:
18  GroundTurret(const TiXmlElement* root = NULL);
19  virtual ~GroundTurret();
20
21  void loadParams(const TiXmlElement* root);
22  void init();
23
24  virtual void postSpawn ();
25  virtual void leftWorld ();
26
27
28  virtual void draw() const;
29  virtual void tick(float time);
30  virtual void collidesWith (WorldEntity* entity, const Vector& location);
31
32 private:
33   Weapon *left, *right;
34};
35
36#endif /* _GROUND_TURRET_H */
Note: See TracBrowser for help on using the repository browser.