Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/npcs/ground_turret.h @ 10535

Last change on this file since 10535 was 9869, checked in by bensch, 18 years ago

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 663 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  ObjectListDeclaration(GroundTurret);
17
18public:
19  GroundTurret(const TiXmlElement* root = NULL);
20  virtual ~GroundTurret();
21
22  virtual void loadParams(const TiXmlElement* root);
23
24  virtual void postSpawn ();
25  virtual void leftWorld ();
26
27  virtual void destroy(WorldEntity* killer);
28
29  virtual void draw() const;
30  virtual void tick(float time);
31
32private:
33  void init();
34
35
36private:
37  PNode  weaponHolder[2];
38  Weapon *left, *right;
39};
40
41#endif /* _GROUND_TURRET_H */
Note: See TracBrowser for help on using the repository browser.