Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/hud/src/world_entities/weapons/aiming_turret.h @ 10659

Last change on this file since 10659 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: 704 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{
15  ObjectListDeclaration(AimingTurret);
16
17public:
18  AimingTurret ();
19  AimingTurret(const TiXmlElement* root);
20  virtual ~AimingTurret ();
21
22  virtual void loadParams(const TiXmlElement* root);
23
24  void setTargetGroup(OM_LIST targetGroup) { this->target.setTargetGroup(targetGroup); };
25
26  virtual void activate();
27  virtual void deactivate();
28
29  virtual void tick(float dt);
30  virtual void fire();
31
32
33  virtual void draw() const;
34
35private:
36  void init();
37
38private:
39  Aim           target;
40};
41
42#endif /* _AIMING_TURRET_H */
Note: See TracBrowser for help on using the repository browser.