Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/weapons/aiming_turret.h @ 9701

Last change on this file since 9701 was 9656, checked in by bensch, 18 years ago

orxonox/trunk: merged the proxy bache back with no conflicts

File size: 664 bytes
Line 
1/*!
2 * @file aiming_turret.h
3*/
4
5
6#ifndef _AIMING_TURRET_H
7#define _AIMING_TURRET_H
8
9#include "weapon.h"
10#include "aim.h"
11/* FORWARD DECLARATION */
12
13class AimingTurret : public Weapon
14{
15public:
16  AimingTurret ();
17  AimingTurret(const TiXmlElement* root);
18  virtual ~AimingTurret ();
19
20  virtual void loadParams(const TiXmlElement* root);
21
22  void setTargetGroup(OM_LIST targetGroup) { this->target.setTargetGroup(targetGroup); };
23
24  virtual void activate();
25  virtual void deactivate();
26
27  virtual void tick(float dt);
28  virtual void fire();
29
30
31  virtual void draw() const;
32
33private:
34  void init();
35
36private:
37  Aim           target;
38};
39
40#endif /* _AIMING_TURRET_H */
Note: See TracBrowser for help on using the repository browser.