Last change
on this file since 9838 was
9656,
checked in by bensch, 18 years ago
|
orxonox/trunk: merged the proxy bache back with no conflicts
|
File size:
624 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file ground_turret.h |
---|
3 | * @brief description |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _GROUND_TURRET_H |
---|
7 | #define _GROUND_TURRET_H |
---|
8 | |
---|
9 | #include "npcs/npc.h" |
---|
10 | |
---|
11 | class Weapon; |
---|
12 | |
---|
13 | //! A Class to ... |
---|
14 | class GroundTurret : public NPC |
---|
15 | { |
---|
16 | |
---|
17 | public: |
---|
18 | GroundTurret(const TiXmlElement* root = NULL); |
---|
19 | virtual ~GroundTurret(); |
---|
20 | |
---|
21 | virtual void loadParams(const TiXmlElement* root); |
---|
22 | |
---|
23 | virtual void postSpawn (); |
---|
24 | virtual void leftWorld (); |
---|
25 | |
---|
26 | virtual void destroy(WorldEntity* killer); |
---|
27 | |
---|
28 | virtual void draw() const; |
---|
29 | virtual void tick(float time); |
---|
30 | |
---|
31 | private: |
---|
32 | void init(); |
---|
33 | |
---|
34 | |
---|
35 | private: |
---|
36 | PNode weaponHolder[2]; |
---|
37 | Weapon *left, *right; |
---|
38 | }; |
---|
39 | |
---|
40 | #endif /* _GROUND_TURRET_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.