Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10230 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
RevLine 
[4827]1/*!
[5527]2 * @file aiming_turret.h
[3618]3*/
4
5
[5527]6#ifndef _AIMING_TURRET_H
7#define _AIMING_TURRET_H
[3618]8
9#include "weapon.h"
[9656]10#include "aim.h"
[5559]11/* FORWARD DECLARATION */
12
[5527]13class AimingTurret : public Weapon
[9656]14{
[9869]15  ObjectListDeclaration(AimingTurret);
16
[9656]17public:
18  AimingTurret ();
19  AimingTurret(const TiXmlElement* root);
20  virtual ~AimingTurret ();
[3618]21
[9656]22  virtual void loadParams(const TiXmlElement* root);
[4973]23
[9656]24  void setTargetGroup(OM_LIST targetGroup) { this->target.setTargetGroup(targetGroup); };
[3618]25
[9656]26  virtual void activate();
27  virtual void deactivate();
[3618]28
[9656]29  virtual void tick(float dt);
30  virtual void fire();
[8777]31
[3752]32
[9656]33  virtual void draw() const;
[5511]34
[9656]35private:
36  void init();
37
38private:
39  Aim           target;
40};
41
[5527]42#endif /* _AIMING_TURRET_H */
Note: See TracBrowser for help on using the repository browser.