Last change
on this file since 6120 was
5750,
checked in by bensch, 19 years ago
|
orxonox/trunk: merged the WorldEntities into the Trunk.
Merged with command:
svn merge branches/world_entities/ trunk/ -r5516:HEAD
conflics from world_entities changed in favor of branches/world_entity
all other conflict in favor of the trunk
|
File size:
607 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 | |
---|
11 | /* FORWARD DECLARATION */ |
---|
12 | class Aim; |
---|
13 | |
---|
14 | class AimingTurret : public Weapon |
---|
15 | { |
---|
16 | public: |
---|
17 | AimingTurret (); |
---|
18 | AimingTurret(const TiXmlElement* root); |
---|
19 | virtual ~AimingTurret (); |
---|
20 | |
---|
21 | void init(); |
---|
22 | void loadParams(const TiXmlElement* root); |
---|
23 | |
---|
24 | virtual void activate(); |
---|
25 | virtual void deactivate(); |
---|
26 | |
---|
27 | virtual void tick(float dt); |
---|
28 | virtual void fire(); |
---|
29 | virtual void destroy(); |
---|
30 | |
---|
31 | virtual void draw() const; |
---|
32 | |
---|
33 | private: |
---|
34 | Aim* target; |
---|
35 | }; |
---|
36 | |
---|
37 | #endif /* _AIMING_TURRET_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.