Last change
on this file since 7434 was
5511,
checked in by bensch, 19 years ago
|
orxonox/trunk: more cleanup of the WorldEntity (includes rearanged)
|
File size:
519 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file turret.h |
---|
3 | */ |
---|
4 | |
---|
5 | |
---|
6 | #ifndef _TURRET_H |
---|
7 | #define _TURRET_H |
---|
8 | |
---|
9 | #include "weapon.h" |
---|
10 | |
---|
11 | class Turret : public Weapon |
---|
12 | { |
---|
13 | public: |
---|
14 | Turret (WeaponManager* weaponManager); |
---|
15 | Turret(const TiXmlElement* root); |
---|
16 | virtual ~Turret (); |
---|
17 | |
---|
18 | void init(); |
---|
19 | void loadParams(const TiXmlElement* root); |
---|
20 | |
---|
21 | virtual void activate(); |
---|
22 | virtual void deactivate(); |
---|
23 | |
---|
24 | virtual void tick(float dt); |
---|
25 | virtual void fire(); |
---|
26 | virtual void destroy(); |
---|
27 | |
---|
28 | virtual void draw() const; |
---|
29 | |
---|
30 | private: |
---|
31 | }; |
---|
32 | |
---|
33 | #endif /* _TURRET_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.