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