Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/terrain.old/src/world_entities/npcs/space_turret.h @ 10657

Last change on this file since 10657 was 9235, checked in by bensch, 18 years ago

merged the presentation back

File size: 617 bytes
Line 
1/*!
2 * @file space_turret.h
3 * @brief description
4*/
5
6#ifndef _SPACE_TURRET_H
7#define _SPACE_TURRET_H
8
9#include "npcs/npc.h"
10
11class Weapon;
12
13//! A Class to ...
14class SpaceTurret : public NPC
15{
16
17public:
18  SpaceTurret(const TiXmlElement* root = NULL);
19  virtual ~SpaceTurret();
20
21  virtual void loadParams(const TiXmlElement* root);
22
23  virtual void postSpawn ();
24  virtual void leftWorld ();
25
26  virtual void destroy(WorldEntity* killer);
27
28  virtual void draw() const;
29  virtual void tick(float time);
30
31private:
32  void init();
33
34
35private:
36  PNode  weaponHolder[2];
37  Weapon *left, *right;
38};
39
40#endif /* _SPACE_TURRET_H */
Note: See TracBrowser for help on using the repository browser.