source:
orxonox.OLD/trunk/src/world_entities/weapons/aiming_turret.h
@
8915
Last change on this file since 8915 was 8777, checked in by patrick, 18 years ago | |
---|---|
File size: 588 bytes |
Rev | Line | |
---|---|---|
[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" | |
10 | ||
[5559] | 11 | /* FORWARD DECLARATION */ |
12 | class Aim; | |
13 | ||
[5527] | 14 | class AimingTurret : public Weapon |
[4934] | 15 | { |
[4827] | 16 | public: |
[5745] | 17 | AimingTurret (); |
[5527] | 18 | AimingTurret(const TiXmlElement* root); |
19 | virtual ~AimingTurret (); | |
[3618] | 20 | |
[4973] | 21 | void init(); |
[6512] | 22 | virtual void loadParams(const TiXmlElement* root); |
[4973] | 23 | |
[4827] | 24 | virtual void activate(); |
25 | virtual void deactivate(); | |
[3618] | 26 | |
[4964] | 27 | virtual void tick(float dt); |
[4827] | 28 | virtual void fire(); |
[3618] | 29 | |
[8777] | 30 | |
[5500] | 31 | virtual void draw() const; |
[3752] | 32 | |
[4827] | 33 | private: |
[5559] | 34 | Aim* target; |
[4934] | 35 | }; |
[5511] | 36 | |
[5527] | 37 | #endif /* _AIMING_TURRET_H */ |
Note: See TracBrowser
for help on using the repository browser.