Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/old.we/src/world_entities/weapons/ground_turret.h @ 5828

Last change on this file since 5828 was 5794, checked in by bensch, 19 years ago

we: sync

File size: 659 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 init();
22  void loadParams(const TiXmlElement* root);
23
24  void loadWeapons(const TiXmlElement* root);
25
26  virtual void postSpawn ();
27  virtual void leftWorld ();
28
29
30  virtual void draw() const;
31  virtual void tick(float time);
32  virtual void collidesWith (WorldEntity* entity, const Vector& location);
33
34 private:
35   Weapon *left, *right;
36};
37
38#endif /* _GROUND_TURRET_H */
Note: See TracBrowser for help on using the repository browser.